aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/cpp/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/doc/cpp/conf.py')
-rw-r--r--gcc/doc/cpp/conf.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/doc/cpp/conf.py b/gcc/doc/cpp/conf.py
new file mode 100644
index 0000000..29d3aed
--- /dev/null
+++ b/gcc/doc/cpp/conf.py
@@ -0,0 +1,30 @@
+# Configuration file for the Sphinx documentation builder.
+
+import sys
+sys.path.append('../../..//doc')
+
+from baseconf import *
+
+name = 'cpp'
+project = 'The C Preprocessor'
+copyright = '1987-2022 Free Software Foundation, Inc.'
+authors = 'Richard M. Stallman, Zachary Weinberg'
+
+# 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'),
+]
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('invocation', name, project, [authors], 1),
+]
+
+texinfo_documents = [
+ ('index', name, project, authors, None, None, None, True)
+]
+
+set_common(name, globals()) \ No newline at end of file