PHP Classes

File: docs/conf.py

Recommend this page to a friend!
  Packages of A. B. M. Mahmudul Hasan   UID (UUID, ULID, Snowflake, Sonyflake, Nano, CUID, KSUID, XID, TBSL)   docs/conf.py   Download  
File: docs/conf.py
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: UID (UUID, ULID, Snowflake, Sonyflake, Nano, CUID, KSUID, XID, TBSL)
Generate, parse, validate unique identifiers
Author: By
Last change:
Date: 8 days ago
Size: 1,359 bytes
 

Contents

Class file image Download
from __future__ import annotations import datetime import os project = "UID" author = "Infocyph" year_now = datetime.date.today().strftime("%Y") copyright = f"2024-{year_now}" version = os.environ.get("READTHEDOCS_VERSION", "latest") release = version language = "en" root_doc = "index" extensions = [ "myst_parser", "sphinx.ext.todo", "sphinx.ext.autosectionlabel", "sphinx.ext.intersphinx", "sphinx_copybutton", "sphinx_design", "sphinxcontrib.phpdomain", ] myst_enable_extensions = [ "colon_fence", "deflist", "attrs_block", "attrs_inline", "tasklist", "fieldlist", ] myst_heading_anchors = 3 autosectionlabel_prefix_document = True todo_include_todos = True intersphinx_mapping = { "php": ("https://www.php.net/manual/en/", None), } html_theme = "sphinx_book_theme" html_theme_options = { "repository_url": "https://github.com/infocyph/UID", "repository_branch": "main", "path_to_docs": "docs", "use_repository_button": True, "use_issues_button": True, "use_download_button": True, "home_page_in_toc": True, "show_toc_level": 2, } templates_path = ["_templates"] html_static_path = ["_static"] html_css_files = ["theme.css"] html_title = f"UID - {version} Documentation" html_show_sourcelink = True html_show_sphinx = False html_last_updated_fmt = "%Y-%m-%d"