Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add Sphinx as a documentation tool#17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SaadBazaz merged 3 commits intoUniversalPython:mainfromharoon10725:main
Oct 19, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions.github/workflows/build-and-deploy-documentation.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
name: Build and Deploy documentation

on:
pull_request:
types: [closed]

permissions:
contents: write

jobs:
build-and-deploy:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
- name: Install dependencies
run: pip install sphinx sphinx_rtd_theme myst_parser

- name: Build Docs
run: |
sphinx-build -b html . _build/html

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v7
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html
40 changes: 0 additions & 40 deletions.github/workflows/deploy.yml
View file
Open in desktop

This file was deleted.

24 changes: 0 additions & 24 deletions.github/workflows/test-deploy.yml
View file
Open in desktop

This file was deleted.

21 changes: 1 addition & 20 deletions.gitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,20 +1 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
_build/
20 changes: 20 additions & 0 deletionsMakefile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -Mhelp"$(SOURCEDIR)""$(BUILDDIR)"$(SPHINXOPTS)$(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M$@"$(SOURCEDIR)""$(BUILDDIR)"$(SPHINXOPTS)$(O)
3 changes: 0 additions & 3 deletionsbabel.config.js
View file
Open in desktop

This file was deleted.

12 changes: 0 additions & 12 deletionsblog/2019-05-28-first-blog-post.md
View file
Open in desktop

This file was deleted.

44 changes: 0 additions & 44 deletionsblog/2019-05-29-long-blog-post.md
View file
Open in desktop

This file was deleted.

20 changes: 0 additions & 20 deletionsblog/2021-08-01-mdx-blog-post.mdx
View file
Open in desktop

This file was deleted.

View file
Open in desktop
Binary file not shown.
25 changes: 0 additions & 25 deletionsblog/2021-08-26-welcome/index.md
View file
Open in desktop

This file was deleted.

17 changes: 0 additions & 17 deletionsblog/authors.yml
View file
Open in desktop

This file was deleted.

29 changes: 29 additions & 0 deletionsconf.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'UniversalPython'
copyright = '2025, Saad Bazaz'
author = 'Saad Bazaz'
release = '1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []

templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'python_docs_theme'
html_sidebars = {}
html_static_path = ['_static']
8 changes: 0 additions & 8 deletionsdocs/contribute/_category_.json
View file
Open in desktop

This file was deleted.

12 changes: 0 additions & 12 deletionsdocs/contribute/core.md
View file
Open in desktop

This file was deleted.

Binary file removeddocs/contribute/img/docsVersionDropdown.png
View file
Open in desktop
Binary file not shown.
Binary file removeddocs/contribute/img/localeDropdown.png
View file
Open in desktop
Binary file not shown.
12 changes: 0 additions & 12 deletionsdocs/contribute/improve-docs.md
View file
Open in desktop

This file was deleted.

11 changes: 0 additions & 11 deletionsdocs/contribute/translate.md
View file
Open in desktop

This file was deleted.

8 changes: 0 additions & 8 deletionsdocs/examples/_category_.json
View file
Open in desktop

This file was deleted.

7 changes: 0 additions & 7 deletionsdocs/examples/playground.md
View file
Open in desktop

This file was deleted.

30 changes: 0 additions & 30 deletionsdocs/installation.md
View file
Open in desktop

This file was deleted.

Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp