aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_ugn/conf.py
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-28 13:53:49 +0200
committerMartin Liska <mliska@suse.cz>2022-11-09 09:00:36 +0100
commit0a543515957ff47feba739e6f71062fb2fb99125 (patch)
treede64363d5fa5b5ea201b9e0369cfbab2a7fe19db /gcc/ada/doc/gnat_ugn/conf.py
parent94246daa3efba88d4ae6619f24d737c01ba3dc89 (diff)
downloadgcc-0a543515957ff47feba739e6f71062fb2fb99125.zip
gcc-0a543515957ff47feba739e6f71062fb2fb99125.tar.gz
gcc-0a543515957ff47feba739e6f71062fb2fb99125.tar.bz2
sphinx: ada: port to Sphinx
gcc/ada/ChangeLog: * doc/gnat-style.rst: Moved to... * doc/gnat-style/index.rst: ...here. * doc/gnat_rm.rst: Moved to... * doc/gnat_rm/index.rst: ...here. * doc/gnat_ugn.rst: Moved to... * doc/gnat_ugn/index.rst: ...here. * doc/share/latex_elements.py: Moved to... * doc/share/ada_latex_elements.py: ...here. * gcc-interface/Make-lang.in: * doc/Makefile: Removed. * doc/share/conf.py: Removed. * doc/share/gnu_free_documentation_license.rst: Removed. * gnat-style.texi: Removed. * gnat_rm.texi: Removed. * gnat_ugn.texi: Removed. * doc/gnat-style/conf.py: New file. * doc/gnat-style/gnu_free_documentation_license.rst: New file. * doc/gnat_rm/conf.py: New file. * doc/gnat_rm/gnu_free_documentation_license.rst: New file. * doc/gnat_ugn/conf.py: New file. * doc/gnat_ugn/gnu_free_documentation_license.rst: New file. * doc/share/adabaseconf.py: New file. * doc/gnat_rm/security_hardening_features.rst: Add role. * doc/gnat_ugn/platform_specific_information.rst: Remove duplicate definition of |nbsp|.
Diffstat (limited to 'gcc/ada/doc/gnat_ugn/conf.py')
-rw-r--r--gcc/ada/doc/gnat_ugn/conf.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc/ada/doc/gnat_ugn/conf.py b/gcc/ada/doc/gnat_ugn/conf.py
new file mode 100644
index 0000000..94e3c07
--- /dev/null
+++ b/gcc/ada/doc/gnat_ugn/conf.py
@@ -0,0 +1,26 @@
+# Configuration file for the Sphinx documentation builder.
+
+import sys
+sys.path.append('../share')
+
+from adabaseconf import *
+
+name = 'gnat_ugn'
+project = "GNAT User's Guide for Native Platforms"
+authors = 'AdaCore'
+
+set_latex_elements(latex_elements, project)
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+latex_documents = [
+ ('index', f'{name}.tex', project, authors, 'manual'),
+]
+
+texinfo_documents = [
+ ('index', name, project, authors, None, None, None, True)
+]
+
+tags.add(get_gnat_build_type())
+set_common(name, globals())