Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Just The Docs Static
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAGO
Documentation
Just The Docs Static
Commits
25aa6126
Unverified
Commit
25aa6126
authored
3 years ago
by
Patrick Marsceill
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #778 from just-the-docs/fix-toc-on-index
Fix ol on index
parents
fbf125d5
bc4a91c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.md
+20
-26
20 additions, 26 deletions
index.md
with
20 additions
and
26 deletions
index.md
+
20
−
26
View file @
25aa6126
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment