dabeaz / curio

Good Curio!
Other
4.01k stars 240 forks source link

Fix docs build #348

Open wiseaidev opened 2 years ago

wiseaidev commented 2 years ago

Signed-off-by: Harmouch101 eng.mahmoudharmouch@gmail.com

What was wrong?

Related to Issue #343

How was it fixed?

Based on the list of deprecated modules in newer versions of sphinx, I did some tweaks to add support for sphinx>=4.0.0, as well as keeping backward compatibility with prior versions. Moreover, I fixed the warnings that are filed during the build process(Bonus).

~/curio/docs/tutorial.rst:69: WARNING: Could not lex literal_block as "python3". Highlighting skipped.
~/curio/docs/tutorial.rst:146: WARNING: Could not lex literal_block as "python3". Highlighting skipped.
~/curio/docs/tutorial.rst:195: WARNING: Could not lex literal_block as "python3". Highlighting skipped.
~/curio/docs/tutorial.rst:327: WARNING: Could not lex literal_block as "python3". Highlighting skipped.

Cute Animal Picture

:dog: