133 Commits

Author SHA1 Message Date
Pascal Obry
6f4e561f23 Add START_WITH and END_WITH filter.
Add corresponding regression tests and documentation.

Motivated by eng/toolchain/aws#39
2024-08-21 18:12:08 -04:00
bortolussi
6f448e60a8 Add the AdaCore logo in the doc
Also update the background color of the table of content.

eng/toolchain/templates-parser#2
2023-11-13 17:12:52 +01:00
Pascal Obry
53cff2e1a8 Add default & alternate filters.
Add corresponding regression test and documentation.
2022-12-20 16:04:12 +01:00
Pascal Obry
ce314eaf71 docs/Makefile: Ensure PRJ_TARGET is passed to GPRbuild.
Fix compilation error while building documentation.
2022-12-14 10:35:33 +01:00
Joel Brobecker
f833aa9539 Switch the documentation's style to use the RTD theme
This commit adjust the sphinx configuration to use the "Read The Docs"
theme, which has the advantage of allowing the navigation bar
(containing among other things a search bar, and the TOC) to stay
fixed while scrolling the contents of the page being read. This is
particularly useful to allow access to those features while reading
a long page, for instance.

TN: VB25-022
2022-11-28 10:18:54 +01:00
Nicolas Boulenguez
3ed42e949e Clean python bytecode in documentation directory 2022-11-23 13:09:59 +01:00
Nicolas Boulenguez
2233e3052b Recreate docs/RESDIR components after a clean
docs/build/ may not exist yet when docs/Makefile attempts to create
docs/build/samples/.
2022-11-23 13:08:43 +01:00
Pascal Obry
368752bff0 Fix TEMPLATES_PARSER_VERSION computing using Makefile now.
Fixes T612-032.
2020-06-12 18:38:19 +02:00
Pascal Obry
6811705dd6 Fix building documentation with new version handling. 2020-03-07 09:15:40 +01:00
Blady
deb8c0770b Fix warning message:
table_align.adb:5:11: warning: file name does not match unit name, should be "table_section.adb"
2020-03-06 18:23:12 +01:00
Pascal Obry
cc633d04ae Implement a new table tag attribute Align_On.
This attribute make it possible to set a set of string on which to align
the content of the table.

Add documentation and corresponding regression test.

For RC04-043.
2019-04-14 19:22:50 +02:00
Pascal Obry
572c058c05 Add support 'Intent tag attribute.
This make it possible to align all line (separated with \n) in a tag
constant to the start of the tag in the template.

Add documentation and corresponding regression test.

For RC04-043.
2019-02-21 07:38:47 +01:00
Pascal Obry
0072803591 Avoid cd display to go into the result. 2019-02-21 07:38:47 +01:00
Blady
1cbb9e1af9 Avoid "gnat1: invalid switch: -gnat05" error and "docs.gpr:22:09: warning: there are no sources of language "Project file" in this project" warning. 2018-09-15 10:53:44 +02:00
Pascal Obry
ca4b237040 Add STIP filter (remove spaces and other characters like CR, LF).
Add corresponding regression test and update documentation
accordingly.
2018-01-28 18:39:56 +01:00
Nicolas Boulenguez
361c3fab7e Report rm errors, clean forgotten files. 2017-09-10 18:17:51 +02:00
Pascal Obry
4861a78099 Add default value when this Makefile is called directly.
For P506-010.
2016-05-06 20:05:04 +02:00
Nicolas Boulenguez
d6bcb3ad92 Transmit the PRJ_BUILD for the library to docs and regtests.
So that they avoid rebuilding the library in case it differs
from the default. Also specify TARGET and VERSION because they
do not have a default.
2016-05-05 23:11:40 +02:00
Nicolas Boulenguez
c1aae17e08 Simplify docs/Makefile. 2016-05-05 23:11:40 +02:00
Nicolas Boulenguez
e68fb7ab05 Clarify variables flow.
Prevent build-doc to compile the library again into .build/obj,
because without -subdir .build/obj/TARGET/MODE/static is not seen.

No need to recompute SDIR in regtests/Makefile, it is set in makefile.setup.

Remove duplicate PRJ_BUILD in ALL_OPTIONS.

Avoid undefined VERSION in templates_parser.gpr when building examples.
2016-05-05 23:11:40 +02:00
Nicolas Boulenguez
00a35f8a90 Allow the caller to override all cflags via environment variables.
Some redundant settings may probably be replaced with renamings from
TP_Shared so that they are updated in a single place in TP_Shared.
docs: -gnat05
regtests: -gnat05 -m Subversion
2016-05-05 23:11:40 +02:00
Pascal Obry
934fdb783c Rename makefile to Makefile (GNU standard)
This is also what GPS expects by default.

For O604-017.
2015-06-16 17:11:18 +02:00
Pascal Obry
bf3a41d1e5 Update copyright year. 2015-04-30 10:14:02 +02:00
Pascal Obry
246f2ada6d Never let the doc builder hang.
Part of MB15-031.
2015-01-10 11:38:49 +01:00
Nicolas Boulenguez
299950113f Some more files remove during the clean-up. 2014-05-14 11:12:17 +02:00