Skip to content

Integrate with Read the Docs #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thepetk opened this issue Mar 26, 2024 · 3 comments · Fixed by #536
Closed

Integrate with Read the Docs #6

thepetk opened this issue Mar 26, 2024 · 3 comments · Fixed by #536
Assignees
Labels
cicd CI CD related item enhancement New feature or request severity/critical Item of critical importance

Comments

@thepetk
Copy link
Collaborator

thepetk commented Mar 26, 2024

A nice feature would be to make an integration between the github repo here and readthedocs.io

@thepetk thepetk added enhancement New feature or request severity/critical Item of critical importance cicd CI CD related item labels Mar 26, 2024
@thepetk thepetk added this to the setup_3.12_translation milestone Mar 26, 2024
@egeakman
Copy link

Here is the configuration file we use! It builds the HTML pages and serve them from the _readthedocs/html/ directory.

version: 2
build:
  os: "ubuntu-22.04"
  tools:
    python: "3"

  apt_packages:
    - make
    - gettext

  commands:
    - git clone https://github.com/python/cpython.git venv/cpython/
    - python -m pip install -r venv/cpython/Doc/requirements.txt
    - make
    - mkdir -p _readthedocs/html/
    - cp -r venv/cpython/Doc/build/html/* _readthedocs/html/

@lysnikolaou
Copy link
Member

@egeakman That's really helpful, thanks a lot! I plan on setting this up later today, so I'll let you know here if any questions arise.

@thepetk
Copy link
Collaborator Author

thepetk commented Mar 28, 2024

@egeakman huge hugs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd CI CD related item enhancement New feature or request severity/critical Item of critical importance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants