docs: support intersphinx (#2871)

* Initial plan

* Add mkdocs-intersphinx plugin to generate objects.inv for intersphinx linking

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>

* Add options.md comments to schema generator

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>

* Plan intersphinx marker fix

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>

* Add Python 3.12 marker to mkdocs-intersphinx

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>

* Revert schema comment metadata changes

Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Copilot
2026-05-29 13:22:53 -04:00
committed by GitHub
co-authored by henryiii Henry Schreiner pre-commit-ci[bot]
parent 80d5810e2a
commit b84dd90062
14 changed files with 23 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Changelog title: Changelog
ref: changelog
--- ---
# Changelog # Changelog
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Configuring a CI service title: Configuring a CI service
ref: ci-services
--- ---
## Configuring a CI service ## Configuring a CI service
+5
View File
@@ -1,3 +1,8 @@
---
title: Configuration
ref: configuration
---
# Configuration methods # Configuration methods
cibuildwheel can either be configured using environment variables, or from cibuildwheel can either be configured using environment variables, or from
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Contributing title: Contributing
ref: contributing
--- ---
# Contributing # Contributing
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Modern C++ standards title: Modern C++ standards
ref: cpp-standards
--- ---
# Modern C++ standards # Modern C++ standards
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Delivering to PyPI title: Delivering to PyPI
ref: deliver-to-pypi
--- ---
# Delivering to PyPI # Delivering to PyPI
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Tips and tricks title: Tips and tricks
ref: faq
--- ---
# Tips and tricks # Tips and tricks
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Home title: Home
ref: index
--- ---
# cibuildwheel # cibuildwheel
+5
View File
@@ -1,3 +1,8 @@
---
title: Options
ref: options
---
# Options # Options
<div class="options-toc"></div> <div class="options-toc"></div>
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Platforms title: Platforms
ref: platforms
--- ---
# Platforms # Platforms
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: 'Getting started' title: 'Getting started'
ref: setup
--- ---
# Getting started # Getting started
+1
View File
@@ -1,5 +1,6 @@
--- ---
title: Working examples title: Working examples
ref: working-examples
--- ---
<!-- START bin/projects.py --> <!-- START bin/projects.py -->
+2
View File
@@ -58,3 +58,5 @@ plugins:
j2_variable_end_string: » j2_variable_end_string: »
on_error_fail: true on_error_fail: true
on_undefined: strict on_undefined: strict
- intersphinx:
project: cibuildwheel
+1
View File
@@ -66,6 +66,7 @@ Homepage = "https://github.com/pypa/cibuildwheel"
docs = [ docs = [
"jinja2>=3.1.2", "jinja2>=3.1.2",
"mkdocs-include-markdown-plugin==7.1.8", "mkdocs-include-markdown-plugin==7.1.8",
"mkdocs-intersphinx>=0.1.1; python_version >= '3.12'",
"mkdocs-macros-plugin>=1.4.1", "mkdocs-macros-plugin>=1.4.1",
"mkdocs==1.6.1", "mkdocs==1.6.1",
"pymdown-extensions", "pymdown-extensions",