[petsc-dev] Putting more menu items at the top of petsc.org pages (how to?)
Zhang, Hong
hongzhang at anl.gov
Tue Feb 21 22:04:04 CST 2023
I think this is controlled by the theme we are using, which is pydata-sphinx-theme. It seems that the only way to do what you want is to modify the theme directly.
https://github.com/pydata/pydata-sphinx-theme/blob/main/src/pydata_sphinx_theme/__init__.py#L283
This function displays 5 TocTree directives before going to More. Perhaps we can create our own fork for this theme and customize it.
Hong (Mr.)
> On Feb 19, 2023, at 6:01 PM, Barry Smith <bsmith at petsc.dev> wrote:
>
>
> Googling "magic words sphinx menu" didn't help me so I ask here. Is there a way to have more menu items at the top
> of the petsc.org pages instead of immediately going to More? I think I saw a way before but cannot find the magic words.
>
>
>
> <Untitled.png>
More information about the petsc-dev
mailing list