techdoc-jekyll-theme 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -31
  3. data/assets/css/style.css +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c02bcf10fd9d495ae434c20864d3cf604b3f25017ccae76a2618732932bc41e
4
- data.tar.gz: 9c7200d4b7de806b966fa7a8aa5fb9037f87ad8bea514ccca9f06c94e908136b
3
+ metadata.gz: 414b7803f9dcb0792d1bcadc6e7635682a98fcb0ed100471fde26d8888729ce2
4
+ data.tar.gz: 46a9d1b0772a8e40a52e232b8b656c0c0d77036682a6dac810291e00508621a8
5
5
  SHA512:
6
- metadata.gz: a92e44af03830bfca57383b77c8c40a026d74ea16ab3dc753ff53abc08dae1eb8236d28b3bf301c152b1efc23e78dd39c7a60d248c121bfaa85759f6d58d4a3b
7
- data.tar.gz: c01a95dc4ebd41b42c61074d8819624b42f561f7e840ef68bef06e5857975ca974e45a02d281237e3883b05d62bb85b630ac8bdded891b1bbf79ee39e5fe1eaf
6
+ metadata.gz: a0021b0ef47f529db6b45139fe78b71c17d2b3684bf9326b01bbe6f02a9dd72742cecae432fd088bc6c35f636ab92a0f6e197e8a6b45f8ec6ec0d513879b68b4
7
+ data.tar.gz: 18635b2c8088df0a9c2aa2d51c1a46c0af66a0c2a704df6b2e9228c6b86cc2267ba228bc79d7cff87d1634f443dc09b8d83b3375057b78aa4b6e17425179ecf2
data/README.md CHANGED
@@ -2,52 +2,25 @@
2
2
  [![Gem Version](https://badge.fury.io/rb/techdoc-jekyll-theme.svg)](https://badge.fury.io/rb/techdoc-jekyll-theme)
3
3
 
4
4
  ## About
5
-
6
5
  TechDoc is a Jekyll theme designed for writing technical documentation. The templates that come with it are very minimal, so you can quickly get started writing documentation.
7
6
 
8
7
  ## Installation
9
-
10
- Add this line to your Jekyll site's `Gemfile`:
11
-
12
- ```ruby
13
- gem "techdoc"
14
- ```
15
-
16
- And add this line to your Jekyll site's `_config.yml`:
17
-
18
- ```yaml
19
- theme: techdoc
20
- ```
21
-
22
- And then execute:
23
-
24
- $ bundle
25
-
26
- Or install it yourself as:
27
-
28
- $ gem install techdoc
8
+ Take a look at this [page](/techdoc/2021/04/01/using-this-theme.html), which contains detailed instructions for installation.
29
9
 
30
10
  ## Usage
31
-
32
- Once you've installed the theme using the instructions above, you can start writing technical documentation right away by creating a new `.markdown` file in the `/posts` folder. The file should be named `year-month-day-title.markdown`, and the beginning of the file should look something like this:
33
-
11
+ Once you've installed the theme using the page mentioned above, you can start writing technical documentation right away by creating a new `.markdown` file in the `/posts` folder. The file should be named `year-month-day-title.markdown`, and the beginning of the file should look something like this:
34
12
  ```markdown
35
13
  ---
36
14
  title: <title>
37
15
  layout: post
38
16
  ---
39
17
  ```
40
-
41
18
  Once you've got that, you can start writing away! A quick reference on writing content in Markdown can be found [here](https://kramdown.gettalong.org/quickref.html).
42
19
 
43
- For a more in-depth tutorial, visit the the theme demo.
44
-
45
20
  ## Contributing
46
-
47
- Bug reports and pull requests are welcome on GitHub at https://github.com/jianmin-chen/techdoc. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
21
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/jianmin-chen/techdoc](https://github.com/jianmin-chen/techdoc). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
48
22
 
49
23
  ## Development
50
-
51
24
  To set up your environment to develop this theme, run `bundle install`.
52
25
 
53
26
  Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
@@ -56,5 +29,4 @@ When your theme is released, only the files in `_layouts`, `_includes`, `_sass`
56
29
  To add a custom directory to your theme-gem, please edit the regexp in `techdoc.gemspec` accordingly.
57
30
 
58
31
  ## License
59
-
60
32
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/assets/css/style.css CHANGED
@@ -135,6 +135,7 @@ a:hover {opacity: 0.8;}
135
135
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
136
136
  font-size: 0.95rem;
137
137
  padding: 15px 30px;
138
+ white-space: pre-wrap;
138
139
  }
139
140
 
140
141
  .content table {
@@ -156,7 +157,7 @@ a:hover {opacity: 0.8;}
156
157
  .footer {
157
158
  border-top: 1px solid #dee2e6;
158
159
  color: #808080;
159
- margin: 15px;
160
+ margin: 45px 15px 15px 15px;
160
161
  padding: 15px;
161
162
  text-align: center;
162
163
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: techdoc-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - jianmin-chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-02 00:00:00.000000000 Z
11
+ date: 2021-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll