Skip to main content

A GRG sphinx theme to use across GRG projects

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grg_sphinx_theme-0.4.2.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grg_sphinx_theme-0.4.2-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file grg_sphinx_theme-0.4.2.tar.gz.

File metadata

  • Download URL: grg_sphinx_theme-0.4.2.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for grg_sphinx_theme-0.4.2.tar.gz
Algorithm Hash digest
SHA256 f74767d03b421d785a0974ae9a2bb9f90e4e5e29920209d475330c766908cc8b
MD5 aa6054971a3a12279c38cea432dbc8fc
BLAKE2b-256 799cb1af0b67f64ea709117f86ecc55e22b1c0d53807aed1753c1f904237b624

See more details on using hashes here.

File details

Details for the file grg_sphinx_theme-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for grg_sphinx_theme-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd869a430bb4f2f79f9beddc3915b16901edde5dbebdbbe900c967ac00a55cd7
MD5 f59c4de604586d4cb7a17aaa95f0fbf7
BLAKE2b-256 0bb2216bb7bbe777dcb33bba990309ae79153d8cd53a22243036eb1698c0e8e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page