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: docs/strictdoc_01_user_guide.sdoc
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -812,6 +812,35 @@ Default is ``True``.
812
812
813
813
[/SECTION]
814
814
815
+
[SECTION]
816
+
MID: 726b6a1a2f854e82a7670cb8480b887e
817
+
TITLE: Additional Metadata
818
+
819
+
[TEXT]
820
+
MID: f86d45b7ad1a48ec919b43a695ca9126
821
+
STATEMENT: >>>
822
+
StrictDoc allows additional metadata to be added in the [DOCUMENT] element. The ``METADATA:`` field accepts any number of entries, each consisting of a key-value pair on a separate line. Keys must begin with a letter and end with a colon, but are not otherwise constrained.
823
+
824
+
.. code-block:: text
825
+
826
+
[DOCUMENT]
827
+
TITLE: Hello world
828
+
OPTIONS:
829
+
REQUIREMENT_IN_TOC: True
830
+
METADATA:
831
+
KEY: Value
832
+
...
833
+
834
+
The additional metadata is also included on the front page of the exported PDF. This is useful for displaying document-specific information, such as the author's name or project identifiers.
835
+
836
+
.. note ::
837
+
838
+
The front page can be further customised using the ``html2pdf_template``
839
+
directive in strictoc.toml
840
+
<<<
841
+
842
+
[/SECTION]
843
+
815
844
[/SECTION]
816
845
817
846
[SECTION]
@@ -3516,7 +3545,7 @@ To activate the HTML2PDF screen in the web interface, add/edit the ``strictdoc.t
3516
3545
"HTML2PDF"
3517
3546
]
3518
3547
3519
-
This feature is not enabled by default because the implementation has not been completed yet. The underlying JavaScript library is being improved with respect to how the SDoc HTML content is split between pages, in particular the splitting of HTML ``<table>`` tags is being worked out. One feature which is still missing is the ability to generate user-specific front pages with custom meta information.
3548
+
This feature is not enabled by default because the implementation has not been completed yet. The underlying JavaScript library is being improved with respect to how the SDoc HTML content is split between pages, in particular the splitting of HTML ``<table>`` tags is being worked out. One feature which is still missing is the ability to edit custom front page metadata through the web UI.
0 commit comments