127 Commits

Author SHA1 Message Date
Joel Brobecker
4d86f8a610 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
(cherry picked from commit f833aa9539)
2022-11-30 08:38:03 +04: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
Nicolas Boulenguez
a614621083 Use variable for builder and cleaner. 2014-05-14 11:10:22 +02:00
Pascal Obry
9b5d7cc51e Minor reformatting. 2014-05-10 09:31:40 +02:00
Nicolas Boulenguez
9d99381b0f close out files after writing in generating documentation.
Previous version did not actually write the last file,
resulting in an empty subsection in the documentation.

Also avoid the reserved identifier "file", and avoid loading the
whole input file in memory.
2014-05-10 09:13:00 +02:00
Pascal Obry
5b94b424fa Fix SPHINX documentation generation.
Continued work for MB14-040.
2013-12-11 17:24:27 +01:00
Pascal Obry
71915d24b1 Move Templates Parser documentation from texinfo format to SPHINX.
Add a way to specify a specific version from the command line
by setting VERSION makefile's variable.

Part of MB14-040.
2013-12-11 13:02:31 +01:00
Pascal Obry
f0a9443435 Fix doc and regtests circuitry now that --subdirs is used.
Part of MA30-041.
2013-11-07 15:49:39 +01:00