GithubHelp home page GithubHelp logo

ezio-melotti / docsbuild-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python/docsbuild-scripts

0.0 1.0 0.0 257 KB

scripts for building documentation on docs.python.org

JavaScript 12.24% Python 77.62% HTML 10.15%

docsbuild-scripts's Introduction

This repository contains scripts for automatically building the Python documentation on docs.python.org.

How to test it?

The following command should build all maintained versions and translations in ./www, beware it can take a few hours:

python3 ./build_docs.py --quick --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation

If you don't need to build all translations of all branches, add --language en --branch main.

Check current version

Install tools_requirements.txt then run python check_versions.py ../cpython/ (pointing to a real CPython clone) to see which version of Sphinx we're using where:

Sphinx configuration in various branches:

=========  =============  =============  ==================  ==================
  version  travis         azure          requirements.txt    conf.py
=========  =============  =============  ==================  ==================
     2.7   sphinx~=2.0.1  ø              ø                   needs_sphinx='1.2'
     3.5   sphinx==1.8.2  ø              ø                   needs_sphinx='1.8'
     3.6   sphinx==1.8.2  sphinx==1.8.2  ø                   needs_sphinx='1.2'
     3.7   ø              ø              ø                   ø
     3.8   ø              ø              sphinx==2.4.4       needs_sphinx='1.8'
     3.9   ø              ø              sphinx==2.4.4       needs_sphinx='1.8'
     3.1   ø              ø              sphinx==3.4.3       needs_sphinx='3.2'
     3.11  ø              ø              sphinx==4.5.0       needs_sphinx='4.2'
     3.12  ø              ø              sphinx==4.5.0       needs_sphinx='4.2'
     3.13  ø              ø              sphinx==6.2.1       needs_sphinx='4.2'
=========  =============  =============  ==================  ==================

Sphinx build as seen on docs.python.org:

=========  =====  =====  =====  =====  =====  =====  =====  =====  =======  =====  =====  =======  =======
version    en     es     fr     id     it     ja     ko     pl     pt-br    tr     uk     zh-cn    zh-tw
=========  =====  =====  =====  =====  =====  =====  =====  =====  =======  =====  =====  =======  =======
2.7        ø      2.3.1  ø      2.3.1  2.3.1  ø      2.3.1  2.3.1  ø        2.3.1  2.3.1  ø        2.3.1
3.5        ø      1.8.4  1.8.4  1.8.4  1.8.4  ø      1.8.4  1.8.4  ø        1.8.4  1.8.4  1.8.4    1.8.4
3.6        ø      2.3.1  2.3.1  2.3.1  2.3.1  ø      2.3.1  2.3.1  ø        2.3.1  2.3.1  2.3.1    2.3.1
3.7        2.3.1  2.3.1  2.3.1  2.3.1  2.3.1  2.3.1  2.3.1  2.3.1  2.3.1    2.3.1  2.3.1  2.3.1    2.3.1
3.8        2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4    2.4.4  2.4.4  2.4.4    2.4.4
3.9        2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4  2.4.4    2.4.4  2.4.4  2.4.4    2.4.4
3.10       3.4.3  3.4.3  3.4.3  3.4.3  3.4.3  3.4.3  3.4.3  3.4.3  3.4.3    3.4.3  3.4.3  3.4.3    3.4.3
3.11       4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0    4.5.0  4.5.0  4.5.0    4.5.0
3.12       4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0  4.5.0    4.5.0  4.5.0  4.5.0    4.5.0
3.13       6.2.1  6.2.1  6.2.1  6.2.1  6.2.1  6.2.1  6.2.1  6.2.1  6.2.1    6.2.1  6.2.1  6.2.1    6.2.1
=========  =====  =====  =====  =====  =====  =====  =====  =====  =======  =====  =====  =======  =======

docsbuild-scripts's People

Contributors

julienpalard avatar benjaminp avatar ewdurbin avatar ned-deily avatar hugovk avatar zhsj avatar m-aciek avatar aa-turner avatar berkerpeksag avatar birkenfeld avatar mindiell avatar hauntsaninja avatar ambv avatar take6 avatar zware avatar yhg1s avatar oonid avatar humitos avatar kushaldas avatar fidget-spinner avatar giuseppealaimo avatar egeakman avatar dstufft avatar kazanzhy avatar atsuoishimoto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.