inferno-pytorch / inferno

A utility library around PyTorch
Other
244 stars 41 forks source link

readthedocs vs self-build + githubpage hosted #139

Open DerThorsten opened 6 years ago

DerThorsten commented 6 years ago

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

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 commented 6 years ago

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

nasimrahaman commented 6 years ago

@constantinpape Opinions?

constantinpape commented 6 years ago

Sounds good to me.

DerThorsten commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

DerThorsten commented 6 years ago

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)