python3 sphinx auto document generator sphinx-doc.org/ notes github.com/thesheff17/youtube...
Пікірлер: 46
@DanSheffner3 жыл бұрын
This video is getting pretty old and uses python 2. Python 2 is is no longer supported as of January 1st, 2020. I will leave it up for reference purposes. The concepts in this video still apply. Please use python 3 and above now. Visit www.python.org/ for more information.
@MsDakota75 жыл бұрын
I quite literally spent 6 hours trying to find a good explanation for my use case. This covers it super well and easy to understand. Straight to the point how to auto generate your documentation. Nothing more or less
@ddavid26 жыл бұрын
Many thanks for sharing your knowledge. After many pages and docs read, your video was the one that helped me more
@QuoVadis844 жыл бұрын
12:15 You can fix the warning by adding one line to the index.rst. Just put an empty line after ':caption: Contents:' Then in the next line type 'modules' . This line should have the same indent as ':caption: Contents:'
@evilwizard79312 жыл бұрын
I'm just going to say a big Thank You from 2021. After a trying to get the thing to pick up on the source files to read the docstrings to generate the rst to build the html & failing because most of the tutorials are not the same anymore, but showing the conf it generated & then the actual command to generate the rst files
@jyotioh37237 жыл бұрын
Thanks for a tutorial that shows using some code/project!
@salmann948 жыл бұрын
Nice work. The best available of it's kind !
@DanSheffner8 жыл бұрын
Thanks for watching.
@yuriwrlk6 жыл бұрын
Very informative, thanks!!!
@karthikarumugam79076 жыл бұрын
@Dan Sheffner How can i work on the same with python based on windows. Any link will help
@Turjak_art8 жыл бұрын
thanks awsome explanation
@DanSheffner8 жыл бұрын
Thanks for watching!
@불광불급8 жыл бұрын
Thanks a lot! Very helpful.
@DanSheffner8 жыл бұрын
+이창영 Thanks for watching.
@chenginsea2107 жыл бұрын
Great Job, Thanks for your sharing.
@DanSheffner7 жыл бұрын
Thanks for watching.
@mrcrash49747 жыл бұрын
Very good tutorial!!
@BioniXdu257 жыл бұрын
I think it's because I'm an idiot but ... when I first write apt-get update it says : zsh: command not found: apt-get I'm on Windows and I use Babun terminal, I hope I'll have a reply
@DanSheffner7 жыл бұрын
I'm not too familiar with the zsh command line. I would try bash and see if you have similar results.
@abhishekmhamane615 Жыл бұрын
From line-4 to line-29, you have info about the License and copyrights. I was wondering is there a standard way as per PEP-8 to write the authorship and metadata info.
@DanSheffner Жыл бұрын
I don't think pep-8 has too many recommendations about the license banner. For my newest projects I create LICENSE file in the git repo and then leave it out of the files for a cleaner repo. Here is an example: github.com/thesheff17/tf_examples/ github.com/thesheff17/tf_examples/blob/main/LICENSE With this LICENSE file I assume all files in this repo are under the GPL license.
@SaifUlIslam-di5xv3 жыл бұрын
You gained a subscriber!
@DanSheffner3 жыл бұрын
Thank you very much.
@dLantee7 жыл бұрын
The best explanation how to generate documentation for python source code.
@DanSheffner6 жыл бұрын
thanks for watching.
@poonamkale82164 жыл бұрын
will you suggest how to resolve "autodoc failed to import module in sphinx" error
@DanSheffner3 жыл бұрын
I haven't had to use sphinx in a long time and this video is also getting pretty old at this point. Are you still having this problem? If you can join the discord server I can troubleshoot more. Hopefully you were able to figure this out. Thanks for watching. :)
@sachinrai81816 жыл бұрын
Thx for this help
@Dan-th2wr8 жыл бұрын
hi Dan great video... any idea how to make search work with substrings / infix?
@DanSheffner8 жыл бұрын
hmmm...this is a good question. I tested on the python docs and I just searched for the word ommand and everything that matched *ommand was returned docs.python.org/3/search.html?q=ommand also sometimes google is a better sub string search tool. You can do site:docs.python.org os.system and this will return results only from the site you want. Hopefully this helps.
@alexluwees34842 жыл бұрын
Hey great video! I am trying to learn how Sphinx works, and I actually have an assignment on it. I am supposed to make the Quick search tool of Sphinx to support both absolute and relative paths. I really dont know what that means haha any ideas ? :)
@RomanGWatch4 жыл бұрын
Great, Thank you
@DanSheffner3 жыл бұрын
great to hear this video helped. :)
@Simba-qm5qs6 жыл бұрын
How to install a sphinx theme such as 'natural' with pip and conf.py ? I have some troubles. Can you explain me with easy words (I'm French lol) ? Thanks. By the way, Nice tutorial. Have a good day.
@erfelipe4 жыл бұрын
Thanks
@romulorocha9476 жыл бұрын
python 2.7 or 3.4? what is the better?
@DanSheffner6 жыл бұрын
always use python 3.x at this point unless you have a specific reason to use python 2.7. python 2.7 end of life is in 2020 so it is only supported for a couple more years.
@neemaogega4025 жыл бұрын
I am new to python and sphinx..I need step by step instructions on how to install these in windows 10 kindly.
@safesploit5 жыл бұрын
As you're a beginner, I cannot suggest this. Instead, begin by using a Linux based distro, like Ubuntu. As this contains APT which makes initial setup and future learning easier, as more documentation is written. You can use Ubuntu within VirtualBox.
@josephcox30913 жыл бұрын
super annoying to have the KZbin time bar over your commands. Anytime I pause to see what your typing the red bar is in the way
@DanSheffner3 жыл бұрын
Thank you for this feedback I will change this in future videos.