Skip to content

Conversation

@labdala
Copy link
Collaborator

@labdala labdala commented Jul 6, 2022

  • Pin dependencies, add RTD configuration file. Following recommendations from RTD documentation;
  • Embed jupyter lite.

Steps to run jupyter lite:

$ cd docs
$ sh script_build.sh
$ cd build/html/_output
$ jupyter lite serve

Visualizing the ITK Viewer Bootstrap website:

$ cd docs
$ google-chrome  build/html/index.html

Visualizing the jupyterlite:

$ cd docs
$ google-chrome  build/html/index.html

or

$ google-chrome http://localhost:8080/App/app.html

Co-authored-by: Paul Elliott paul.elliott@kitware.com

@labdala labdala requested a review from thewtex July 6, 2022 19:13
@labdala
Copy link
Collaborator Author

labdala commented Jul 6, 2022

@PaulHax I got it to work!!
JupyterLite displays that error if we do:

$ jupyter lite build --lite-dir ../jupyterlite --output-dir ./build/html/_output

and it works if we do

jupyter lite build --output-dir ./build/html/_output --lite-dir ../jupyterlite

@PaulHax
Copy link
Collaborator

PaulHax commented Jul 7, 2022

Argument order dependent?!? Loco

@labdala
Copy link
Collaborator Author

labdala commented Jul 7, 2022

Nevermind. All options work today and I don't yet understand why they were not working yesterday.

@thewtex
Copy link
Member

thewtex commented Jul 7, 2022

💯 🥇

@thewtex thewtex merged commit 5cc6ef1 into main Jul 7, 2022
@thewtex thewtex deleted the read-the-docs branch July 7, 2022 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants