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.3.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

grg_sphinx_theme-0.3.3-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grg_sphinx_theme-0.3.3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for grg_sphinx_theme-0.3.3.tar.gz
Algorithm Hash digest
SHA256 49cf02e86ed62ba7cee27c59b939e16469e39a8d741f664871024e3c384eab59
MD5 876d82826d5cf777e4fecaef18d5293b
BLAKE2b-256 fd3f42a4b73b47b93c8b4dbfd04fb51a59e3d26b1070dc53f014c6b0d51d7d81

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for grg_sphinx_theme-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45cb4538840018314461d63b105dfb8ca1186550201e380e7c01cda6019de35a
MD5 5c1ea9823a5868e643a5943c1374c585
BLAKE2b-256 ea591706aeea7e9cc7a6e7631ef7e99f134493005047785797e4ad6722f1ee62

See more details on using hashes here.

Provenance

Supported by

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