docs-publish

Build and deploy Sphinx-generated documentation to the gh-pages branch via GitHub Actions.

Updated May 31, 2020
One-click install
npx skills add https://github.com/xshi19/normix --skill docs-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-publish
Source: https://github.com/xshi19/normix/tree/main/.cursor/skills/docs-publish
Command: npx skills add https://github.com/xshi19/normix --skill docs-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sphinx, myst-parser, myst-nb, sphinx-book-theme, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the build and deployment of the normix documentation website, ensuring that the latest changes are reflected online without manual intervention.

Core Features & Use Cases

  • Automated Build: Compiles Sphinx-generated documentation into a static HTML site.
  • Deployment: Pushes the built site to the GitHub Pages 'gh-pages' branch.
  • Use Case: Use this Skill to ensure that the normix documentation is always up-to-date and accessible at https://xshi19.github.io/normix/.

Quick Start

Run the 'docs-publish' skill to build and deploy the normix documentation website.

Frequently Asked Questions about docs-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Sphinx documentation deployment to GitHub Pages?

Automating Sphinx documentation deployment to GitHub Pages involves using a CI/CD pipeline to compile your docs and push the built static HTML site to the gh-pages branch. This Skill handles that process within GitHub Actions.

What dependencies do I need to build and deploy Sphinx documentation?

To build and deploy Sphinx documentation with this Skill, you need sphinx, myst-parser, myst-nb, and sphinx-book-theme installed. These dependencies parse Markdown and compile the static HTML site.

How does GitHub Actions build automation work for Sphinx-generated docs?

GitHub Actions build automation for Sphinx docs uses scripts and a Makefile within the pipeline to compile source files into static HTML. The workflow then automatically deploys the compiled site to the gh-pages branch.

Can I use MyST-Parser and MyST-NB for documentation deployment on GitHub Pages?

Yes, you can use MyST-Parser and MyST-NB for documentation deployment on GitHub Pages. This Skill utilizes them as dependencies to parse Markdown and Jupyter notebooks before compiling and deploying the Sphinx site.

What is the best way to keep a Sphinx documentation website always up-to-date?

The best way to keep a Sphinx documentation website up-to-date is to automate the build and deployment process through GitHub Actions. This ensures the latest changes are compiled and pushed online without manual intervention.

Why use the Sphinx-Book-Theme for automated documentation builds?

Using the Sphinx-Book-Theme for automated documentation builds provides a structured HTML layout for your project. It is a required dependency that styles the compiled static site before deployment to the gh-pages branch.