Skip to content
main
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

lucabooks

  1. Create environment in anaconda with python 3.7 and environment.yml: conda env create -f environment.yml

  2. pip uninstall sphinxcontrib-bibtex

  3. pip install sphinxcontrib-bibtex==1.0.0

  4. Edit the following file: "_ init .py" (Anaconda3\envs{env_name}\Lib\site-packages\jupyter_book\commands):

    • build_modified = max([os.stat(ii).st_mtime for ii in build_files]) (comment this out with #)
    • freshenv = True (set this to True)
  5. Go to desired directory where the book (folder) is located with 'cd'

  6. jb create (name of your choiche)

  7. jb build (same name as before)

  8. in anaconda cmd (postBuild): (- jupyter contrib nbextension install --user)

  • jupyter nbextension enable --py widgetsnbextension
  • jupyter labextension install @jupyter-widgets/jupyterlab-manager (- jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --minimize=False)
  1. Github pages:

    • Get into the folder of the book with 'cd'
    • Run: ghp-import -n -p -f _build/html
  2. To update your online book, you would simply make changes to your book’s content on the master branch of your repository, re-build your book with jupyter-book build mybookname/ and then use ghp-import -n -p -f mylocalbook/_build/html as before to push the newly built HTML to the gh-pages branch.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published