python3 sphinx documentation generator

  Рет қаралды 55,776

Dan Sheffner

Dan Sheffner

8 жыл бұрын

python3 sphinx auto document generator
sphinx-doc.org/
notes
github.com/thesheff17/youtube...

Пікірлер: 46
@DanSheffner
@DanSheffner 3 жыл бұрын
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.
@MsDakota7
@MsDakota7 5 жыл бұрын
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
@ddavid2
@ddavid2 6 жыл бұрын
Many thanks for sharing your knowledge. After many pages and docs read, your video was the one that helped me more
@QuoVadis84
@QuoVadis84 4 жыл бұрын
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:'
@evilwizard7931
@evilwizard7931 2 жыл бұрын
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
@jyotioh3723
@jyotioh3723 7 жыл бұрын
Thanks for a tutorial that shows using some code/project!
@salmann94
@salmann94 8 жыл бұрын
Nice work. The best available of it's kind !
@DanSheffner
@DanSheffner 8 жыл бұрын
Thanks for watching.
@yuriwrlk
@yuriwrlk 6 жыл бұрын
Very informative, thanks!!!
@karthikarumugam7907
@karthikarumugam7907 6 жыл бұрын
@Dan Sheffner How can i work on the same with python based on windows. Any link will help
@Turjak_art
@Turjak_art 8 жыл бұрын
thanks awsome explanation
@DanSheffner
@DanSheffner 8 жыл бұрын
Thanks for watching!
@불광불급
@불광불급 8 жыл бұрын
Thanks a lot! Very helpful.
@DanSheffner
@DanSheffner 8 жыл бұрын
+이창영 Thanks for watching.
@chenginsea210
@chenginsea210 7 жыл бұрын
Great Job, Thanks for your sharing.
@DanSheffner
@DanSheffner 7 жыл бұрын
Thanks for watching.
@mrcrash4974
@mrcrash4974 7 жыл бұрын
Very good tutorial!!
@BioniXdu25
@BioniXdu25 7 жыл бұрын
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
@DanSheffner
@DanSheffner 7 жыл бұрын
I'm not too familiar with the zsh command line. I would try bash and see if you have similar results.
@abhishekmhamane615
@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
@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-di5xv
@SaifUlIslam-di5xv 3 жыл бұрын
You gained a subscriber!
@DanSheffner
@DanSheffner 3 жыл бұрын
Thank you very much.
@dLantee
@dLantee 7 жыл бұрын
The best explanation how to generate documentation for python source code.
@DanSheffner
@DanSheffner 6 жыл бұрын
thanks for watching.
@poonamkale8216
@poonamkale8216 4 жыл бұрын
will you suggest how to resolve "autodoc failed to import module in sphinx" error
@DanSheffner
@DanSheffner 3 жыл бұрын
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. :)
@sachinrai8181
@sachinrai8181 6 жыл бұрын
Thx for this help
@Dan-th2wr
@Dan-th2wr 8 жыл бұрын
hi Dan great video... any idea how to make search work with substrings / infix?
@DanSheffner
@DanSheffner 8 жыл бұрын
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.
@alexluwees3484
@alexluwees3484 2 жыл бұрын
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 ? :)
@RomanGWatch
@RomanGWatch 4 жыл бұрын
Great, Thank you
@DanSheffner
@DanSheffner 3 жыл бұрын
great to hear this video helped. :)
@Simba-qm5qs
@Simba-qm5qs 6 жыл бұрын
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.
@erfelipe
@erfelipe 4 жыл бұрын
Thanks
@romulorocha947
@romulorocha947 6 жыл бұрын
python 2.7 or 3.4? what is the better?
@DanSheffner
@DanSheffner 6 жыл бұрын
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.
@neemaogega402
@neemaogega402 5 жыл бұрын
I am new to python and sphinx..I need step by step instructions on how to install these in windows 10 kindly.
@safesploit
@safesploit 5 жыл бұрын
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.
@josephcox3091
@josephcox3091 3 жыл бұрын
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
@DanSheffner
@DanSheffner 3 жыл бұрын
Thank you for this feedback I will change this in future videos.
Carol Willing - Practical Sphinx - PyCon 2018
27:21
PyCon 2018
Рет қаралды 32 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 84 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 9 МЛН
Sphinx & Read the Docs
19:14
Mahdi Yusuf
Рет қаралды 139 М.
Python's Class Development Toolkit
45:56
Next Day Video
Рет қаралды 237 М.
Nature's Incredible ROTATING MOTOR (It’s Electric!) - Smarter Every Day 300
29:37
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 157 М.
Modern Python logging
21:32
mCoding
Рет қаралды 166 М.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 254 М.
Introduction to Sphinx Python Document Generation
8:26
Real Python
Рет қаралды 27 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 807 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 898 М.
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 370 М.
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 710 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН