Skip to content

Commit b3a9e1e

Browse files
authored
Merge branch 'master' into add-missing-columns-to-schema
2 parents e34b806 + 26b1faa commit b3a9e1e

23 files changed

+36
-30
lines changed

app/assets/stylesheets/reference.scss

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,12 @@ h3.plumbing {
136136
@include border-bottom-left-radius(3px);
137137
@include border-bottom-right-radius(3px);
138138

139-
input {
140-
width: 70px;
141-
padding: 1px 3px;
142-
font-size: 11px;
143-
color: $font-color;
144-
background-color: #f0efe8;
145-
border: solid 1px #e2e0d8;
146-
@include border-radius(1px);
139+
p {
140+
// `all` and `display` are for overriding the global style defined
141+
// for <p> at the beginning of "typography.scss".
142+
all: unset;
143+
display: block;
144+
color: $light-font-color;
147145
}
148146
}
149147
}
@@ -353,3 +351,12 @@ p.quickref {
353351
margin-bottom: 20px;
354352
background-color: $callout-color;
355353
}
354+
355+
code.command {
356+
user-select: all;
357+
358+
&::before {
359+
content: '$ ';
360+
font-weight: bold;
361+
}
362+
}

app/views/doc/_versions.html.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
<!-- <li><a class="more" href="#">See more previous releases →</a></li> -->
3535
</ol>
3636
<footer>
37-
<span class="light">Check your version of git by running<br></span>
38-
<strong>$</strong>
39-
<input readonly type="text" class="copyable" value="git --version" />
37+
<p>Check your version of git by running</p>
38+
<code class="command">git --version</code>
4039
</footer>
4140
</div>

db/migrate/20120308153738_create_versions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class CreateVersions < ActiveRecord::Migration
3+
class CreateVersions < ActiveRecord::Migration[4.2]
44
def change
55
create_table :versions do |t|
66
t.string :name

db/migrate/20120308153855_create_doc_files.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class CreateDocFiles < ActiveRecord::Migration
3+
class CreateDocFiles < ActiveRecord::Migration[4.2]
44
def change
55
create_table :doc_files do |t|
66
t.string :name

db/migrate/20120308153921_create_docs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class CreateDocs < ActiveRecord::Migration
3+
class CreateDocs < ActiveRecord::Migration[4.2]
44
def change
55
create_table :docs do |t|
66
t.text :blob_sha

db/migrate/20120308160013_create_doc_versions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class CreateDocVersions < ActiveRecord::Migration
3+
class CreateDocVersions < ActiveRecord::Migration[4.2]
44
def change
55
create_table :doc_versions do |t|
66
t.belongs_to :version

db/migrate/20120415151530_add_version_order.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class AddVersionOrder < ActiveRecord::Migration
3+
class AddVersionOrder < ActiveRecord::Migration[4.2]
44
def up
55
add_column :versions, :vorder, :float
66
Version.all.each do |version|

db/migrate/20120417001921_add_downloads.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class AddDownloads < ActiveRecord::Migration
3+
class AddDownloads < ActiveRecord::Migration[4.2]
44
def up
55
create_table :downloads do |t|
66
t.string :url

db/migrate/20120417220111_change_doc_sha_to_string.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class ChangeDocShaToString < ActiveRecord::Migration
3+
class ChangeDocShaToString < ActiveRecord::Migration[4.2]
44
def up
55
change_column :docs, :blob_sha, :string
66
end

db/migrate/20120417221951_add_book_stuff.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
class AddBookStuff < ActiveRecord::Migration
3+
class AddBookStuff < ActiveRecord::Migration[4.2]
44
def up
55
create_table :books do |t|
66
t.string :code

0 commit comments

Comments
 (0)