Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
16a5ed8
update template with remote theme
hamelsmu Jan 14, 2021
9082279
Merge pull request #28 from fastai/use-theme
Jan 14, 2021
d9d4c02
Update README.md
Jan 14, 2021
0b422d3
Bump nokogiri from 1.10.8 to 1.11.0 in /docs
dependabot[bot] Jan 17, 2021
07cea8d
Merge pull request #29 from fastai/dependabot/bundler/docs/nokogiri-1…
Jan 17, 2021
8636dbf
Update settings.ini
Jan 17, 2021
442a9a3
Merge pull request #32 from fastai/fix-settings.ini-template
Jan 17, 2021
99cda93
Update settings.ini
Jan 17, 2021
e7bfbd7
Update settings.ini
Jan 17, 2021
c1e7431
Update README.md
Jan 18, 2021
9a9f692
change tree to blob
TejasAvinashShetty Jan 31, 2021
27282fc
Merge pull request #37 from TejasAvinashShetty/master
Feb 15, 2021
90c1bea
Update docker-compose.yml
Feb 15, 2021
f5e3d24
Merge pull request #39 from fastai/hamelsmu-patch-2
Feb 15, 2021
c3b451f
Revert "change tree to blob"
Feb 15, 2021
71a92ac
Merge pull request #41 from fastai/revert-37-master
Feb 15, 2021
0bbedd8
Update setup.py
Feb 15, 2021
bf04d55
Update setup.py
Feb 15, 2021
547a61e
add common licenses
hamelsmu Feb 17, 2021
76f9035
Merge pull request #42 from fastai/hamelsmu-patch-2
Feb 17, 2021
7276cde
Update README.md
Mar 5, 2021
33b8b1f
Merge pull request #45 from fastai/troubleshooting-tips
Mar 5, 2021
380a53f
Update README.md
Mar 5, 2021
b11d203
Update Gemfile.lock
Apr 7, 2021
a71e094
Update Gemfile.lock
Apr 7, 2021
fe0a782
licenses
jph00 Apr 8, 2021
b3402b6
update Gemfile
hamelsmu Apr 8, 2021
fe3ae31
update gemfile
hamelsmu Apr 8, 2021
69bb949
Delete unused Gemfile
muellerzr Aug 25, 2021
b12b7e3
Delete Gemfile.lock
muellerzr Aug 25, 2021
521d57f
Merge pull request #73 from muellerzr/master
jph00 Aug 25, 2021
16d81a5
Revert "Remove unneeded Gemfile and Gemfile.lock's"
Sep 17, 2021
24dfd07
Merge pull request #76 from fastai/revert-73-master
Sep 17, 2021
09ab203
Update README.md
Sep 17, 2021
c5ee54a
Update .gitignore
jph00 Sep 18, 2021
4f9aa88
Delete Gemfile.lock
jph00 Sep 18, 2021
0fd5e21
Update Gemfile
jph00 Sep 18, 2021
46a36eb
Merge pull request #77 from fastai/Gemfile
Sep 21, 2021
cc608f9
Update setup.py
jph00 Mar 3, 2022
8615eec
Update README.md
hamelsmu Jul 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.jekyll-cache/
Gemfile.lock
*.bak
.gitattributes
.last_checked
Expand Down
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# :warning: This template is for an old version of nbdev, nbdev v1. The template for v2 is [here](https://github.com/fastai/nbdev-template)

# nbdev template

Use this template to more easily create your nbdev project.
Use this template to more easily create your [nbdev](https://nbdev.fast.ai/) project.

_If you are using an older version of this template, and want to upgrade to the theme-based version, see [this helper script](https://gist.github.com/hamelsmu/977e82a23dcd8dcff9058079cb4a8f18) (more explanation of what this means is contained in the link to the script)_.

## Troubleshooting Tips

- Make sure you are using the latest version of nbdev with `pip install -U nbdev`
- If you are using an older version of this template, see the instructions above on how to upgrade your template.
- It is important for you to spell the name of your user and repo correctly in `settings.ini` or the website will not have the correct address from which to source assets like CSS for your site. When in doubt, you can open your browser's developer console and see if there are any errors related to fetching assets for your website due to an incorrect URL generated by misspelled values from `settings.ini`.
- If you change the name of your repo, you have to make the appropriate changes in `settings.ini`
- After you make changes to `settings.ini`, run `nbdev_build_lib && nbdev_clean_nbs && nbdev_build_docs` to make sure all changes are propagated appropriately.


## Previewing Documents Locally

It is often desirable to preview nbdev generated documentation locally before having it built and rendered by GitHub Pages. This requires you to run Jekyll locally, which requires installing Ruby and Jekyll. Instructions on how to install Jekyll are provided [on Jekyll's site](https://jekyllrb.com/). You can run the command `make docs_serve` from the root of your repo to serve the documentation locally after calling `nbdev_build_docs` to generate the docs.

In order to allow you to run Jekyll locally this project contains manifest files, called Gem files, that specify all Ruby dependencies for Jekyll & nbdev. **If you do not plan to preview documentation locally**, you can choose to delete `docs/Gemfile` and `docs/Gemfile.lock` from your nbdev project (for example, after creating a new repo from this template).
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ services:
ports:
- "4000:4000"
command: >
bash -c "cp -r docs_src docs
&& pip install .
bash -c "pip install .
&& nbdev_build_docs && cd docs
&& bundle i
&& chmod -R u+rwx . && bundle exec jekyll serve --host 0.0.0.0"
6 changes: 1 addition & 5 deletions docs/Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
source "https://rubygems.org"

gem 'github-pages', group: :jekyll_plugins

# Added at 2019-11-25 10:11:40 -0800 by jhoward:
gem "nokogiri", "< 1.10.9"
gem "jekyll", ">= 3.7"
gem "kramdown", ">= 2.3.0"
gem "jekyll-remote-theme"
261 changes: 0 additions & 261 deletions docs/Gemfile.lock

This file was deleted.

15 changes: 0 additions & 15 deletions docs/_data/alerts.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/_data/definitions.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/_data/glossary.yml

This file was deleted.

30 changes: 0 additions & 30 deletions docs/_data/sidebars/home_sidebar.yml

This file was deleted.

3 changes: 0 additions & 3 deletions docs/_data/tags.yml

This file was deleted.

Empty file removed docs/_data/terms.yml
Empty file.
15 changes: 0 additions & 15 deletions docs/_includes/archive.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/_includes/callout.html

This file was deleted.

9 changes: 0 additions & 9 deletions docs/_includes/footer.html

This file was deleted.

Loading