Skip to content

Commit

Permalink
master: get_config_dict.py: fix discussion of default.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Dec 9, 2024
1 parent efc8a00 commit da0a859
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build-backend = 'setuptools.build_meta'
# -----------------------------------------------------------------------------
[project]
name = 'xrst'
version = '2024.12.8'
version = '2024.12.9'
description = 'Extract RST files from source code and run Sphinx'
readme = 'readme.md'
requires-python = '>=3.0'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name = 'xrst',
version = '2024.12.8',
version = '2024.12.9',
description = 'Extract RST files from source code and run Sphinx',
license = 'GPL-3.0-or-later',
keywords = 'sphinx rst documentation source',
Expand Down
12 changes: 11 additions & 1 deletion test_rst/2024.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
!!!!

.. meta::
:keywords: 2024,xrst,release,notes,for,mm-dd,12-08,12-01,11-30,11-27,10-25,10-01,09-09,08-25,08-13,08-12,06-25,04-30,04-06,04-05,03-30,03-29,03-28,03-19,03-16,03-04,03-02,03-01,02-29,02-25,02-14,02-03,01-29,01-21,01-04,01-01
:keywords: 2024,xrst,release,notes,for,mm-dd,12-09,12-08,12-01,11-30,11-27,10-25,10-01,09-09,08-25,08-13,08-12,06-25,04-30,04-06,04-05,03-30,03-29,03-28,03-19,03-16,03-04,03-02,03-01,02-29,02-25,02-14,02-03,01-29,01-21,01-04,01-01

.. index:: 2024, xrst, release, notes, 2024

Expand All @@ -24,6 +24,16 @@ xrst Release Notes for 2024
mm-dd
*****

.. _2024@mm-dd@12-09:

12-09
=====
Correct comment about the example
:ref:`config_file@directory@project_directory` .
To be specific, it is relative to where the
:ref:`run_xrst@config_file` is located
(which may not be the directory where the xrst is run).

.. _2024@mm-dd@12-08:

12-08
Expand Down
4 changes: 2 additions & 2 deletions test_rst/config_file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ and placed in the *rst_directory*.

Default
=======
Note that '.' denotes the directory where
:ref:`xrst <run_xrst-name>` is run.
Note that ``'.'`` below denotes the directory where the
:ref:`run_xrst@config_file` is located.

.. literalinclude:: ../../xrst/get_conf_dict.py
:lines: 125-129
Expand Down
8 changes: 8 additions & 0 deletions user/2024.xrst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ xrst Release Notes for 2024
mm-dd
*****

12-09
=====
Correct comment about the example
:ref:`config_file@directory@project_directory` .
To be specific, it is relative to where the
:ref:`run_xrst@config_file` is located
(which may not be the directory where the xrst is run).

12-08
=====
The suspend comment :ref:`suspend_cmd@left, right` syntax was extended
Expand Down
4 changes: 2 additions & 2 deletions xrst/get_conf_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def system_exit(msg) :
Default
=======
Note that '.' denotes the directory where
:ref:`xrst <run_xrst-name>` is run.
Note that ``'.'`` below denotes the directory where the
:ref:`run_xrst@config_file` is located.
{xrst_code toml}
[directory]
Expand Down
2 changes: 1 addition & 1 deletion xrst/run_xrst.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def fix_latex(latex_dir, project_name) :
import xrst
#
# version
version = '2024.12.8'
version = '2024.12.9'
#
def run_xrst() :
#
Expand Down

0 comments on commit da0a859

Please sign in to comment.