Skip to content

Commit 30a96f6

Browse files
docs: fix up docs (#454)
* docs: fix up docs Signed-off-by: Henry Schreiner <[email protected]> * style: pre-commit fixes * chore: clean up a few things Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 89af5c4 commit 30a96f6

File tree

14 files changed

+87
-52
lines changed

14 files changed

+87
-52
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
tags:
1818
- "*.*.*"
1919

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref }}
22+
cancel-in-progress: true
23+
2024
env:
2125
USE_QEMU: ${{ fromJSON(github.event.inputs.use_qemu || 'false') || (github.event_name == 'schedule') || startsWith(github.ref, 'refs/tags/') }}
2226

.readthedocs.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
sphinx:
7+
configuration: docs/conf.py
8+
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.12"
13+
14+
python:
15+
install:
16+
- requirements: docs/requirements-docs.txt

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Before you submit a pull request, check that it meets these guidelines:
103103
feature to the list in `README.rst`.
104104

105105
3. The pull request should work for Python 2.7, and 3.6+.
106-
Check `GitHub Actions https://github.com/scikit-build/cmake-python-distributions/actions/workflows/build.yml`_
106+
Check `GitHub Actions <https://github.com/scikit-build/cmake-python-distributions/actions/workflows/build.yml>`_
107107
and make sure that the tests pass for all supported Python versions.
108108

109109

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ History
55

66
cmake-python-distributions was initially developed in September 2016 by
77
Jean-Christophe Fillion-Robin to facilitate the distribution of project using
8-
`scikit-build <http://scikit-build.readthedocs.io/>`_ and depending on CMake.
8+
`scikit-build <https://scikit-build.readthedocs.io/>`_ and depending on CMake.

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CMake Python Distributions
33
==========================
44

5-
`CMake <http://www.cmake.org>`_ is used to control the software compilation
5+
`CMake <https://cmake.org>`_ is used to control the software compilation
66
process using simple platform and compiler independent configuration files,
77
and generate native makefiles and workspaces that can be used in the
88
compiler environment of your choice.
@@ -74,22 +74,22 @@ The last version to provide ``manylinux1`` wheels was ``3.22.x``.
7474
Maintainers
7575
-----------
7676

77-
* `How to update CMake version? <http://cmake-python-distributions.readthedocs.io/en/latest/update_cmake_version.html>`_
77+
* `How to update CMake version? <https://cmake-python-distributions.readthedocs.io/en/latest/update_cmake_version.html>`_
7878

79-
* `How to make a release? <http://cmake-python-distributions.readthedocs.io/en/latest/make_a_release.html>`_
79+
* `How to make a release? <https://cmake-python-distributions.readthedocs.io/en/latest/make_a_release.html>`_
8080

8181
Miscellaneous
8282
-------------
8383

84-
* Documentation: http://cmake-python-distributions.readthedocs.io/en/latest/
84+
* Documentation: https://cmake-python-distributions.readthedocs.io/en/latest/
8585
* Source code: https://github.com/scikit-build/cmake-python-distributions
8686
* Mailing list: https://groups.google.com/forum/#!forum/scikit-build
8787

8888
License
8989
-------
9090

9191
This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
92-
It is covered by the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
92+
It is covered by the `Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_.
9393

9494
CMake is distributed under the OSI-approved BSD 3-clause License.
95-
For more information about CMake, visit http://cmake.org
95+
For more information about CMake, visit https://cmake.org

docs/build_system.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
Understanding the Build-system
33
==============================
44

5-
CMakeLists.txt
6-
--------------
75

8-
.. _CMakeLists: https://github.com/scikit-build/cmake-python-distributions/blob/master/CMakeLists.txt
9-
10-
The build system is described by the `CMakeLists.txt <CMakeLists>`_ and is composed of few projects each responsible
6+
The build system is described by the ``CMakeLists.txt`` and is composed of few projects each responsible
117
for a specific task. Once configured, the `Outer Project` is responsible for driving the overall build
128
composed of multiple project called `external project`. Here is the list of `external project`:
139

@@ -16,8 +12,6 @@ composed of multiple project called `external project`. Here is the list of `ext
1612
* ``CMakeProject-build``
1713
* ``CMakePythonDistributions``: This corresponds to the `Inner Project` represented below.
1814

19-
.. _ ..CMakeLists\.txt: https://github.com/scikit-build/cmake-python-distributions/blob/master/CMakeLists.txt
20-
2115
The flow chart represented below illustrates which external projects are included based on the configure
2216
options and describes the role of each one:
2317

@@ -36,7 +30,7 @@ options and describes the role of each one:
3630
color = "#FFF0D7";
3731

3832
// properties
39-
configure [shape = beginpoint, label = "CMakeLists", description="See `CMakeLists.txt <CMakeLists>`_"];
33+
configure [shape = beginpoint, label = "CMakeLists", description="CMake configuration file"];
4034
ask_download [label ="Download source ?", shape = diamond, description = "If option ``CMakeProject_SOURCE_DIR`` is set, skip source download."];
4135
download_source [label ="Download Source archive", description = "External project downloading archives from https://cmake.org/files/."]
4236
reuse_source_dir [label ="Re-use source directory", description = "Empty external project."]

docs/building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Building the CMake Python wheel
55
Overview
66
--------
77

8-
This project has been designed to work with `scikit-build <http://scikit-build.readthedocs.io/>`_.
8+
This project has been designed to work with `scikit-build <https://scikit-build.readthedocs.io/>`_.
99

1010
It provides a `setup.py` and allows to create both source and binary distributions of
1111
CMake.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#
7474
# This is also used if you do content translation via gettext catalogs.
7575
# Usually you set "language" from the command line for these cases.
76-
language = None
76+
language = 'en'
7777

7878
# There are two options for replacing |today|: either, you set today to some
7979
# non-false value, then it is used:
@@ -160,7 +160,7 @@
160160
# Add any paths that contain custom static files (such as style sheets) here,
161161
# relative to this directory. They are copied after the builtin static files,
162162
# so a file named "default.css" will overwrite the builtin "default.css".
163-
html_static_path = ['_static']
163+
# html_static_path = ['_static']
164164

165165
# Add any extra paths that contain custom files (such as robots.txt or
166166
# .htaccess) here, relative to this directory. These files are copied

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
Welcome to CMake Python Distributions's documentation!
77
======================================================
88

9-
`CMake <http://www.cmake.org>`_ is used to control the software compilation
9+
`CMake <https://cmake.org>`_ is used to control the software compilation
1010
process using simple platform and compiler independent configuration files,
1111
and generate native makefiles and workspaces that can be used in the
1212
compiler environment of your choice.
1313

1414
The suite of CMake tools were created by Kitware in response to the need
1515
for a powerful, cross-platform build environment for open-source projects
16-
such as `ITK <https://www.itk.org>`_ and `VTK <http://www.vtk.org>`_.
16+
such as `ITK <https://itk.org>`_ and `VTK <https://vtk.org>`_.
1717

1818
The CMake python wheels provide `CMake 3.28.3 <https://cmake.org/cmake/help/v3.28/index.html>`_.
1919

@@ -49,11 +49,11 @@ Resources
4949
=========
5050

5151
This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
52-
It is covered by the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
52+
It is covered by the `Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_.
5353

5454
CMake is distributed under the OSI-approved BSD 3-clause License.
55-
For more information about CMake, visit http://cmake.org
55+
For more information about CMake, visit https://cmake.org
5656

57-
* Documentation: http://cmake-python-distributions.readthedocs.io/en/latest/
57+
* Documentation: https://cmake-python-distributions.readthedocs.io/en/latest/
5858
* Source code: https://github.com/scikit-build/cmake-python-distributions
5959
* Mailing list: https://groups.google.com/forum/#!forum/scikit-build

docs/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if errorlevel 9009 (
6767
echo.may add the Sphinx directory to PATH.
6868
echo.
6969
echo.If you don't have Sphinx installed, grab it from
70-
echo.http://sphinx-doc.org/
70+
echo.https://sphinx-doc.org/
7171
exit /b 1
7272
)
7373

0 commit comments

Comments
 (0)