You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.6.1]
9
+
10
+
### Added
11
+
12
+
-`doxyfile_prefix` parameter to optionally allow configuring the directory into which the `Doxyfile` is emitted [#35](https://github.com/TendTo/rules_doxygen/issues/35) (thanks to @renesas-abigail)
| <aid="doxygen-executable"></a>executable | Label of the doxygen executable. |`None`|
271
271
| <aid="doxygen-dot_executable"></a>dot_executable | Label of the doxygen executable. Make sure it is also added to the `srcs` of the macro |`None`|
272
272
| <aid="doxygen-configurations"></a>configurations | List of additional configuration parameters to pass to Doxygen. |`None`|
273
+
| <aid="doxygen-doxyfile_prefix"></a>doxyfile_prefix | Prefix to add to the Doxyfile path. |`""`|
273
274
| <aid="doxygen-doxyfile_template"></a>doxyfile_template | The template file to use to generate the Doxyfile. The following substitutions are available:<br> - `# {{INPUT}}`: Subpackage directory in the sandbox.<br> - `# {{ADDITIONAL PARAMETERS}}`: Additional parameters given in the `configurations` attribute.<br> - `# {{OUTPUT DIRECTORY}}`: The directory provided in the `outs` attribute.<br> - `{{OUTDIR}}`: The output directory where the generated documentation will be placed. Can be used anywhere in the Doxyfile, usually to generate additional output files, like tag files. |`None`|
274
275
| <aid="doxygen-doxygen_extra_args"></a>doxygen_extra_args | Extra arguments to pass to the doxygen executable. |`[]`|
275
276
| <aid="doxygen-use_default_shell_env"></a>use_default_shell_env | Whether to use the default shell environment when running doxygen. |`False`|
"deps": attr.label_list(aspects= [collect_files_aspect], doc="List of dependencies targets whose files present in the 'src', 'hdrs' and 'data' attributes will be collected to generate the documentation. Transitive dependencies are also taken into account. Since we are only considering the source files and not the outputs, these targets **will not** be built"),
144
145
"configurations": attr.string_list(doc="Additional configuration parameters to append to the Doxyfile. For example, to set the project name, use `PROJECT_NAME = example`."),
145
146
"outs": attr.string_list(default= ["html"], allow_empty=False, doc="""Output folders to keep. If only the html outputs is of interest, the default value will do. Otherwise, a list of folders to keep is expected (e.g. `["html", "latex"]`)."""),
147
+
"doxyfile_prefix" : attr.string(doc="Prefix to add to the Doxyfile path.", default=""),
146
148
"doxyfile_template": attr.label(
147
149
allow_single_file=True,
148
150
default=Label(":Doxyfile.template"),
@@ -207,6 +209,7 @@ def doxygen(
207
209
executable=None,
208
210
dot_executable=None,
209
211
configurations=None,
212
+
doxyfile_prefix="",
210
213
doxyfile_template=None,
211
214
doxygen_extra_args= [],
212
215
use_default_shell_env=False,
@@ -697,6 +700,7 @@ def doxygen(
697
700
executable: Label of the doxygen executable.
698
701
dot_executable: Label of the doxygen executable. Make sure it is also added to the `srcs` of the macro
699
702
configurations: List of additional configuration parameters to pass to Doxygen.
703
+
doxyfile_prefix: Prefix to add to the Doxyfile path.
700
704
doxyfile_template: The template file to use to generate the Doxyfile.
701
705
The following substitutions are available:<br>
702
706
- `# {{INPUT}}`: Subpackage directory in the sandbox.<br>
0 commit comments