[Python] multiple github-pages deployments using specific url paths

Discussão em 'Python' iniciado por Stack, Dezembro 16, 2024.

  1. Stack

    Stack Membro Participativo

    I have a project that has an associated github-pages that lives at (say):

    https://myorg.github.io/my_repo_name

    I also have documentation for the python module. My hope is to also deploy that the docs to the github-pages under a docs path like so:

    https://myorg.github.io/my_repo_name/docs

    For what its worth the site is built using mystmd and the docs are autogenerated with sphinx.

    The directory structure has _build directory in the root for the site and an _build folder in subfolder, docs/ for the documentation (see below).

    It it possible to do two separate deployments to github pages (one to the standard url and one to a subpath) to accomplish this?

    Thanks!

    Here is a rough directory structure:

    .
    ├── my_module
    │ ├── __init__.py
    │ ├── thing1.py
    │ ├── thing2.py

    | ...

    ├── _build
    │ ├── html
    │ │ ├── ...
    │ │ ├── 8122.thebe-core.min
    │ │ ├── ...
    │ │ ├── index.html
    │ │ ├── intro.html
    │ │ ├── ...

    | ...

    ├── docs
    │ ├── _build
    │ │ ├── ...
    │ │ └── html
    │ │ ├── index.html
    │ │ | ...

    Continue reading...

Compartilhe esta Página