Skip to content
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

Show external relative URLs in the sidebar #864

Open
njzjz opened this issue Oct 31, 2024 · 0 comments
Open

Show external relative URLs in the sidebar #864

njzjz opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@njzjz
Copy link

njzjz commented Oct 31, 2024

Context

Hi, I am wondering how to show external relative URLs in the sidebar.

In Sphinx, there is a hack (sphinx-doc/sphinx#701 (comment)) to archive it. This hack works with sphinx-rtd-theme.

image

However, when I switch to sphinx-book-theme, although external relative URLs are still in the TOC, they are not in the sidebar.

image

  • source code:
.. toctree::
   :maxdepth: 1

   DeePMD-kit </projects/deepmd/#https://>
   DP-GEN </projects/dpgen/#https://>
   dpdata </projects/dpdata/#https://>
   DPDispatcher </projects/dpdispatcher/#https://>
   dargs</projects/dargs/#https://>
   ABACUS <https://abacus.deepmodeling.com/>
   dpgen2 </projects/dpgen2/#https://>
   DeepFlame <https://deepflame.deepmodeling.com/>
   DPTI </projects/dpti/#https://>
   ReacNetGenerator </projects/reacnetgenerator/#https://>

Proposal

No response

Tasks and updates

No response

@njzjz njzjz added the enhancement New feature or request label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant