Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

readthedocs vs self-build + githubpage hosted #139

Open
DerThorsten opened this issue Aug 15, 2018 · 7 comments
Open

readthedocs vs self-build + githubpage hosted #139

DerThorsten opened this issue Aug 15, 2018 · 7 comments
Assignees

Comments

@DerThorsten
Copy link
Collaborator

DerThorsten commented Aug 15, 2018

Maintaining a building documentation on readthedocs is a pain in the ass:

  • Hard / Impossible to debug
  • No GPU => all examples which shall produce plots rely somehow on a cuda GPU. We will never get this on readthedocs => the example gallery will look poor on readthedocs

Building the docs by ourselfs and host them via https://pages.github.com/ is not very hard, It just means we need do this on a regular basis. But we get a supernice auto example gallery and it is not fragile at all.

@nasimrahaman what do you think?

@nasimrahaman
Copy link
Collaborator

@DerThorsten I like the idea. Let's set it up when you're in office.

@nasimrahaman
Copy link
Collaborator

@constantinpape Opinions?

@constantinpape
Copy link
Member

Sounds good to me.

@DerThorsten
Copy link
Collaborator Author

DerThorsten commented Aug 15, 2018

https://inferno-pytorch.github.io/inferno/html/index.html this is what I got so far.
I don't know why all the colors and formating is missing.
Anyone any clue? I just pushed the build html folder to the gh-pages branch (https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/)

Edit: https://stackoverflow.com/questions/18023908/static-resources-not-loading-on-git-hub-pages maybe this is relevant

Edit2:
IT IS WORKING https://inferno-pytorch.github.io/inferno/html/index.html

@DerThorsten
Copy link
Collaborator Author

DerThorsten commented Aug 15, 2018

Well, I don't like to toot my own horn, but...
https://inferno-pytorch.github.io/inferno/html/auto_examples/plot_unet_tutorial.html#sphx-glr-auto-examples-plot-unet-tutorial-py (this example is made from a single python file https://github.com/inferno-pytorch/inferno/blob/super-dev/examples/plot_unet_tutorial.py )

@nasimrahaman
Copy link
Collaborator

Nice! Then let's stick to self built docs.

@DerThorsten
Copy link
Collaborator Author

DerThorsten commented Oct 5, 2018

who is volunteering to update the docs change all the urls?
(I do not have a GPU...I do not want to run all the unet example on the cpu all the time, except from that I would still be willing to help maintaining the docs / the overall project)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants