Skip to main content

grg-sphinx-theme

A Sphinx theme for GRG projects and its affiliated packages.

Usage

install

pip install grg-sphinx-theme

To start using the theme you need to set the theme in conf.py

html_theme = "grg_sphinx_theme"

To set different navbar-links update the html_theme_options

html_theme_options = {
...
  "navbar_center": ["components/navbar-links.html"],
  "navbar_links": [
     {
        "url": "#",
        "name": "Home",
     },
     {
        "name": "Community",
        "children": [
          {
            "url": "https://www.geeksforgeeks.org/python-ways-to-concatenate-two-lists/",
            "name": "GeeksForGeeks",
            "external": True
          }
        ]
     },
     {
        "name": "Multiple",
        "sections": [
            {
              "name": "First",
              "children": [
                  {
                    "name": "First-Hello",
                    "url": "",
                    "external": True
                  },
                  {
                    "name": "First-How",
                    "url": ""
                  }
              ]
            },
            {
              "name": "Second",
              "children": [
                  {
                    "name": "Second-Hello",
                    "url": ""
                  },
                  {
                    "name": "Second-How",
                    "url": "",
                    "external": True
                  }
              ]
            }
        ]
     }
  ]
...
}

Contributing Guidelines

For contribution we are required to have to maintain the same coding standard and formatting. We recommend using VSCode as an editor and use prettier extension on the VSCode.

For more steps, you can read our Contributing guidelines

Metadata

Release files for grg-sphinx-theme 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grg-sphinx-theme 0.4.2
File Size Uploaded
grg_sphinx_theme-0.4.2.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grg-sphinx-theme 0.4.2
File Interpreter ABI Platform
grg_sphinx_theme-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.9 kB

Release files / grg_sphinx_theme-0.4.2.tar.gz

Download URL grg_sphinx_theme-0.4.2.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f74767d03b421d785a0974ae9a2bb9f90e4e5e29920209d475330c766908cc8b
BLAKE2b-256 checksum
How to use checksums
799cb1af0b67f64ea709117f86ecc55e22b1c0d53807aed1753c1f904237b624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / grg_sphinx_theme-0.4.2-py3-none-any.whl

Download URL grg_sphinx_theme-0.4.2-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd869a430bb4f2f79f9beddc3915b16901edde5dbebdbbe900c967ac00a55cd7
BLAKE2b-256 checksum
How to use checksums
0bb2216bb7bbe777dcb33bba990309ae79153d8cd53a22243036eb1698c0e8e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page