Hey everyone.
I am new to docs and Streamlitâs docs is awesome. I have investigated the docs folder in github of Streamlit and saw that all *md which is great.
Can anyone point me to right direction for creating a readthedocs page using the streamlitâs theme and style? If I cannot find any help, I will just start to change from Streamlitâs docs.
(But I canât even build from the folder. If I use sphinx-quickstart, make html works, but I donât know how to build from a copied folder.)
Hi @Berk_Demir -
For the most part, our documentation isnât that customized, which I think is good in your case! It should be the case that you can do the following:
- Create a fresh Python environment with these requirements
- Generate the Sphinx quickstart project
- Copy this conf.py file, swapping in your values in places where it makes sense
- Make this _templates directory and copy the files
- Make your own css directory and copy the files in
At that point, you should be pretty close to having your documentation set up. From the docs folder, you should be able to run something like make html
to have Sphinx generate the pages, and then start a webserver to view the docs.
Best,
Randy
Couldnât get it work it exactly, but can you help me here: If I copy the all docs folder of Streamlit and try to change it from there, I have problems building the html on that folder. Can you build the html using the streamlit github folder directly?