Skip to content

Commit

Permalink
Add MkDocs config to compare both outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Nov 3, 2019
1 parent f0c9016 commit bbb6472
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
.vscode/
.vagrant/
.sass-cache
_site
_site/
_site_mkdocs/

###########
# Node.js #
Expand Down
12 changes: 12 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
mkdocs = "*"

[requires]
python_version = "3.6"
127 changes: 127 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ This theme is ported from the MkDocs port of the Read The Docs Sphinx theme.
License and copyright for the theme can be found in the
[LICENSE-mkdocs](LICENSE-mkdocs) file.

To compare the output from MkDocs:

```
mkdocs build
```

-----

Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
Expand Down
7 changes: 7 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
site_name: 'Read The Docs Jekyll Theme'
site_description: 'Port of the Read the Docs theme to Jekyll to use with GitHub Pages.'
repo_url: 'https://github.com/carlosperate/jekyll-theme-rtd'
repo_name: 'GitHub'
docs_dir: 'docs/'
site_dir: '_site_mkdocs/'
theme: 'readthedocs'

0 comments on commit bbb6472

Please sign in to comment.