github-docs 0.0.19 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54c1f265d45aeb2b87e08e2b1adbdf1a12519f59939209b11813c29ea31be3b9
4
- data.tar.gz: 149c0424f52124c49a77e934c8cc442e6f5ecf553ff951cfe033388ed09bb354
3
+ metadata.gz: 726b5af62b9ed8958b16ebbea309f35cbee61b7af922e324986e7ba8318002dc
4
+ data.tar.gz: 5c04cba616a55a3897a52250c37152e650fbf49d3d0d6df54b41186192c9b23a
5
5
  SHA512:
6
- metadata.gz: 94c3e588b6504ed095174025d5c53edd714f67b4ca7b0247c18f48773540f4af9f25a4ceccdd89f270fec06c82ebd8380f605695603d2f9b9e9f762de4c9dec3
7
- data.tar.gz: 7feb487ebfa30a95a1c21d864851692ce70d8778c247ce845ece4c8b208b1aa5824a35ea49ea39812edb01b7e3607eaaab0bf4210d960aeca63e2e781f176885
6
+ metadata.gz: f4dc86d6d1cd8adb895cc8ce96720a2ee955f56fed4714a5fa25c1792dd93941911f328249db018d4728b00e34c3b27d9d59dd41a425425aa61a3f2151cd909a
7
+ data.tar.gz: c4197237733300793b96b12ad2a3435180b29643ea439f7def7328cd9a831ee945b0b13169e40bce9bdda4f88c6b6460057dbb938382eda5101ead386904d1ea
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/_sass/main.scss CHANGED
File without changes
@@ -101,7 +101,7 @@ $gray-700: #444d56;
101
101
  line-height: 1em;
102
102
  font-size: 1.1em !important;
103
103
  padding-right: 10px !important;
104
- //margin-left: calc(-1em - 10px) !important;/////////////////////////////////////
104
+ margin-left: calc(-1em - 10px) !important;
105
105
  &:hover,
106
106
  &:focus {
107
107
  outline: none;
data/_sass/rouge.scss CHANGED
File without changes
@@ -15,4 +15,5 @@ $family-primary: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,san
15
15
  "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
16
16
 
17
17
  // Load modules
18
- @import "primer-markdown", "cherry", "main", "rouge";
18
+ // We're appending '-custom' to 'primer-markdown' to avoid including the original dependency
19
+ @import "primer-markdown-custom", "cherry", "main", "rouge";
data/readme.md CHANGED
@@ -11,24 +11,29 @@ A Jekyll theme for Github styled documentation
11
11
 
12
12
  ### Theme local preview
13
13
 
14
- 1. To preview this theme in your project via `github-pages`, add a Gemfile in your root folder
14
+ 1. To preview this theme for your project, add the following Gemfile in your root folder
15
15
  ```ruby
16
16
  source 'https://rubygems.org'
17
17
 
18
- # (old)
19
- # gem 'github-pages', group: :jekyll_plugins
18
+ # Use one of the following:
20
19
 
21
- # Below pulls the latest remote_theme in development (https://github.com/MichaelCurrin/jekyll-theme-quickstart/tree/gh-pages)
22
- gem "github-docs", git: "https://github.com/boycce/github-docs"
23
- group :jekyll_plugins do
24
- gem "jekyll-remote-theme", "~> 0.4.2"
25
- end
20
+ # 1. simulate github-pages
21
+ gem 'github-pages', group: :jekyll_plugins
22
+
23
+ # 2. Or use jekyll-remote-theme, contains unsupported dependency versions, e.g. Sass issues
24
+ # https://github.com/MichaelCurrin/jekyll-theme-quickstart/tree/gh-pages
25
+ # gem "github-docs", git: "https://github.com/boycce/github-docs"
26
+ # group :jekyll_plugins do
27
+ # gem "jekyll-remote-theme", "~> 0.4.2"
28
+ # end
26
29
  ```
27
- 2. Then update `github-pages` and the `theme`
30
+
31
+ 2. Install or update dependencies
28
32
  ```
29
- $ bundle install // bundle update to refresh gems
33
+ $ bundle install // or bundle update
30
34
  ```
31
- 3. And run
35
+
36
+ 3. And run (github-pages pulls the latest remote_theme)
32
37
  ```
33
38
  $ bundle exec jekyll serve
34
39
  ```
@@ -44,3 +49,5 @@ A Jekyll theme for Github styled documentation
44
49
 
45
50
  1. `$ gem build github-docs.gemspec`
46
51
  2. `$ gem push github-docs-*.gem`
52
+ or
53
+ 1. `$ rm ./*.gem 2>/dev/null && gem build github-docs.gemspec && gem push github-docs-*.gem`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricky Boyce
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rouge
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 3.26.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 3.26.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-sass-converter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 1.5.2
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 1.5.2
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: bundler
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -109,13 +137,13 @@ files:
109
137
  - _sass/cherry/_variables-computed.scss
110
138
  - _sass/cherry/_variables.scss
111
139
  - _sass/main.scss
112
- - _sass/primer-markdown/blob-csv.scss
113
- - _sass/primer-markdown/code.scss
114
- - _sass/primer-markdown/headings.scss
115
- - _sass/primer-markdown/images.scss
116
- - _sass/primer-markdown/index.scss
117
- - _sass/primer-markdown/lists.scss
118
- - _sass/primer-markdown/tables.scss
140
+ - _sass/primer-markdown-custom/blob-csv.scss
141
+ - _sass/primer-markdown-custom/code.scss
142
+ - _sass/primer-markdown-custom/headings.scss
143
+ - _sass/primer-markdown-custom/images.scss
144
+ - _sass/primer-markdown-custom/index.scss
145
+ - _sass/primer-markdown-custom/lists.scss
146
+ - _sass/primer-markdown-custom/tables.scss
119
147
  - _sass/rouge.scss
120
148
  - assets/css/index.scss
121
149
  - assets/imgs/back.svg