Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 4 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

## 1.3.1 (unreleased)

- Fix theme for newer Sphinx 7.x.
- Add support for Python 3.14.
- Fix interactive uv venv, use --allow-existing instead.
- Fix: theme for newer Sphinx 7.x.
- Fix: interactive uv venv, use --allow-existing instead.
- Feature: Add support for Python 3.14.
- Feature: Add `docs-linkcheck` to check for broken links in the sphinx documentation.

## 1.3.0 (2025-09-03)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The detailed `mxmake` documentation is available [mxstack.github.io/mxmake](http

# Copyright

- Copyright (c) 2022-2024 mxstack Contributors
- Copyright (c) 2022-2025 mxstack Contributors
- BSD 2-clause license (see below)

Contributors
Expand Down
13 changes: 13 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@

# Logo configuration
html_logo = "_static/mxmake-logo.svg"

# -- Options for linkcheck builder -------------------------------------------

# Ignore localhost URLs (they're examples, not real links to check)
# Also ignore links that linkcheck has issues with but are actually valid
linkcheck_ignore = [
r"http://localhost:\d+",
r"https://gist\.github\.com/.*#.*", # GitHub gist anchors cause false positives
r"https://www\.gnu\.org/.*", # gnu.org frequently times out but links are valid
]

# Increase timeout for slow sites
linkcheck_timeout = 60
2 changes: 1 addition & 1 deletion docs/source/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Source Code

The sources are in a GIT DVCS with its main branches at [Github](http://github.com/mxstack/mxmake).
The sources are in a GIT DVCS with its main branches at [Github](https://github.com/mxstack/mxmake).

## Copyright & Licence

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "mxmake"
description = "Generates a Python project-specific Makefile by using an extensible library of configurable Makefile snippets."
version = "1.3.0"
version = "1.4.0"
keywords = ["development", "deployment", "make"]
authors = [
{name = "MX Stack Developers", email = "dev@bluedynamics.com" }
Expand Down
12 changes: 12 additions & 0 deletions src/mxmake/topics/docs/sphinx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
#:description = Rebuild Sphinx documentation on changes, with live-reload in
#: the browser using `sphinx-autobuild`.
#:
#:[target.docs-linkcheck]
#:description = Run Sphinx linkcheck to verify external links in documentation.
#:
#:[target.docs-clean]
#:description = Removes generated docs.
#:
Expand All @@ -22,6 +25,10 @@
#:description = Documentation generation target folder.
#:default = docs/html
#:
#:[setting.DOCS_LINKCHECK_FOLDER]
#:description = Documentation linkcheck output folder.
#:default = docs/linkcheck
#:
#:[setting.DOCS_REQUIREMENTS]
#:description = Documentation Python requirements to be installed (via pip).
#:default =
Expand Down Expand Up @@ -52,6 +59,11 @@ docs-live: $(DOCS_TARGET) $(DOCS_TARGETS)
@echo "Rebuild Sphinx documentation on changes, with live-reload in the browser"
@$(SPHINX_AUTOBUILD_BIN) $(DOCS_SOURCE_FOLDER) $(DOCS_TARGET_FOLDER)

.PHONY: docs-linkcheck
docs-linkcheck: $(DOCS_TARGET) $(DOCS_TARGETS)
@echo "Run Sphinx linkcheck"
@$(SPHINX_BIN) -b linkcheck $(DOCS_SOURCE_FOLDER) $(DOCS_LINKCHECK_FOLDER)

.PHONY: docs-dirty
docs-dirty:
@rm -f $(DOCS_TARGET)
Expand Down