mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-06 04:01:22 -06:00
Merge pull request #778 from just-the-docs/fix-toc-on-index
Fix ol on index
This commit is contained in:
commit
25aa612617
46
index.md
46
index.md
@ -35,38 +35,32 @@ remote_theme: just-the-docs/just-the-docs
|
||||
### Local installation: Use the gem-based theme
|
||||
|
||||
1. Install the Ruby Gem
|
||||
|
||||
```bash
|
||||
$ gem install just-the-docs
|
||||
```
|
||||
|
||||
```yaml
|
||||
# .. or add it to your your Jekyll site’s Gemfile
|
||||
gem "just-the-docs"
|
||||
```
|
||||
```bash
|
||||
$ gem install just-the-docs
|
||||
```
|
||||
```yaml
|
||||
# .. or add it to your your Jekyll site’s Gemfile
|
||||
gem "just-the-docs"
|
||||
```
|
||||
|
||||
2. Add Just the Docs to your Jekyll site’s `_config.yml`
|
||||
|
||||
```yaml
|
||||
theme: "just-the-docs"
|
||||
```
|
||||
```yaml
|
||||
theme: "just-the-docs"
|
||||
```
|
||||
|
||||
3. _Optional:_ Initialize search data (creates `search-data.json`)
|
||||
|
||||
```bash
|
||||
$ bundle exec just-the-docs rake search:init
|
||||
```
|
||||
```bash
|
||||
$ bundle exec just-the-docs rake search:init
|
||||
```
|
||||
|
||||
3. Run you local Jekyll server
|
||||
|
||||
```bash
|
||||
$ jekyll serve
|
||||
```
|
||||
|
||||
```bash
|
||||
# .. or if you're using a Gemfile (bundler)
|
||||
$ bundle exec jekyll serve
|
||||
```
|
||||
```bash
|
||||
$ jekyll serve
|
||||
```
|
||||
```bash
|
||||
# .. or if you're using a Gemfile (bundler)
|
||||
$ bundle exec jekyll serve
|
||||
```
|
||||
|
||||
4. Point your web browser to [http://localhost:4000](http://localhost:4000)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user