Skip to content

Create 2.0 documentation#39

Draft
C-Achard wants to merge 5 commits intocy/pre-release-fixes-2.0from
cy/2.0-docs
Draft

Create 2.0 documentation#39
C-Achard wants to merge 5 commits intocy/pre-release-fixes-2.0from
cy/2.0-docs

Conversation

@C-Achard
Copy link

@C-Achard C-Achard commented Feb 5, 2026

DLC-Live-GUI docs

Documentation for the GUI based on Jupyter Book 2, targeted for #37.

NOTE

This early draft is currently very barebones/minimal and mostly AI-generated from the main window code.
A TODO list will be added in increasing priority order listing progress of the docs.


This pull request introduces initial documentation and configuration for the DeepLabCut Live GUI project, focusing on user-facing guides, improved documentation structure, and support for building and deploying docs with Jupyter Book and MyST. It also adds custom styling for the documentation and minor clarifications in the application codebase.

Documentation infrastructure and configuration:

  • Added .github/workflows/docs.yml to automate documentation build and deployment to GitHub Pages using Jupyter Book and MyST, enabling continuous documentation updates.
  • Added docs/myst.yml to configure the documentation site, navigation structure, project metadata, and custom styling.
  • Updated pyproject.toml to include a docs extra for installing Jupyter Book, supporting local documentation builds.

User documentation:

  • Added comprehensive user-facing documentation in docs/index.md, docs/quickstart/install.md, and docs/user_guide/overview.md, covering installation, workflow, main window, and key concepts for non-developer users. [1] [2] [3]

Documentation appearance and UX:

  • Added docs/_static/custom.css for custom header and code block styling, improving readability and visual consistency in both light and dark modes.

Minor codebase clarification:

  • Clarified a comment in dlclivegui/gui/main_window.py to better describe error timing related to camera validation during window teardown.

@C-Achard C-Achard self-assigned this Feb 5, 2026
@C-Achard C-Achard added documentation Improvements or additions to documentation enhancement New feature or request labels Feb 5, 2026
@C-Achard C-Achard marked this pull request as draft February 5, 2026 15:07
@C-Achard C-Achard mentioned this pull request Feb 5, 2026
14 tasks
Add initial documentation site for the DeepLabCut Live GUI: new MyST/Jupyter Book config (myst.yml, _toc.yml), site assets (logo, custom.css), top-level docs (index.md, quickstart/install.md), and a build log (_build/logs/myst.build.json). Rename existing camera docs into docs/cameras_backends/ to better organize backends. Also add a "docs" extra to pyproject.toml (jupyter-book>=2.0) to support building the docs.
Introduce a new user guide overview (docs/user_guide/overview.md) that documents the main window, typical workflow, camera/inference/recording controls, stats, menus, and configuration persistence. Add the corresponding startup screenshot (docs/_static/images/main_window/main_window_startup.png) and update docs/myst.yml to surface the new "User Guide → Overview" page in the table of contents.
Add .github/workflows/docs.yml to deploy the repository's Jupyter Book site to GitHub Pages. The workflow (generated by `jupyter-book init --gh-pages`) runs on pushes to main, sets BASE_URL to the repo name, configures Pages permissions and concurrency, installs jupyter-book via npm, builds the HTML site, uploads the build artifact, and deploys using the Pages actions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant