mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
The release notes are at https://github.com/angband/angband/releases/tag/4.2.2 Angband looks like it's in the process or a project-reorganization. Sources have moved to github; the official site is being changes as well. Docs have gone to sphinx, and build looks like it's moving to CMake -- but incomplete. This update pulls in the changes to distribution and build so far: - MASTER_SITES is set explicitly; upstream rolls a release tarball, and I don't want to grab the GH auto-rolled one. - ncurses needs some linker-flag-magic because it's linked into an intermediate static library. - The manual is now built with sphinx. Upstream wants the "better" sphinx theme, but that isn't packaged; I picked a different one at random. Since the generated HTML is installed without its supporting stylesheets or javascript, the difference is unimportant. Play-tested in text (ncurses) and X11 modes, at least to the point that I enter the dungeon and get eaten by a grue.
16 lines
544 B
Python
16 lines
544 B
Python
--- docs/conf.py.orig 2021-07-03 22:02:46 UTC
|
|
+++ docs/conf.py
|
|
@@ -53,10 +53,10 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"
|
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
# a list of builtin themes.
|
|
-from better import better_theme_path
|
|
+from sphinx_rtd_theme import get_html_theme_path
|
|
|
|
-html_theme_path = [better_theme_path]
|
|
-html_theme = "better"
|
|
+html_theme_path = [get_html_theme_path()]
|
|
+html_theme = "sphinx_rtd_theme"
|
|
|
|
html_title = "<img> The Angband Manual"
|
|
html_short_title = "Home"
|