mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
0fb8bcbfb7
This allows for more flexible document structuring.
203 lines
7.7 KiB
DTD
203 lines
7.7 KiB
DTD
<!ELEMENT doc ((description, intro, changelog)|(config, operation)|(description, variable-list?, cleanup?, section+))>
|
|
<!ATTLIST doc title CDATA "">
|
|
<!ATTLIST doc subtitle CDATA "">
|
|
<!ATTLIST doc toc CDATA "y">
|
|
|
|
<!ELEMENT description (#PCDATA)>
|
|
|
|
<!ELEMENT intro (text)>
|
|
|
|
<!ELEMENT operation (description, text?, operation-general, command-list)>
|
|
<!ATTLIST operation title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT operation-general (option-list)>
|
|
<!ATTLIST operation-general title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT command-list (text?, command+)>
|
|
<!ATTLIST command-list title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT command (summary, text, option-list?, command-example-list)>
|
|
<!ATTLIST command id CDATA #REQUIRED>
|
|
<!ATTLIST command name CDATA #REQUIRED>
|
|
|
|
<!ELEMENT command-example-list (text?, command-example+)>
|
|
<!ATTLIST command-example-list title CDATA "Examples">
|
|
|
|
<!ELEMENT command-example (text)>
|
|
<!ATTLIST command-example title CDATA "Example">
|
|
|
|
<!ELEMENT option-list (option+)>
|
|
|
|
<!ELEMENT option (summary, text, example)>
|
|
<!ATTLIST option id CDATA #REQUIRED>
|
|
<!ATTLIST option name CDATA #REQUIRED>
|
|
|
|
<!ELEMENT config (description, text, config-section-list)>
|
|
<!ATTLIST config title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT config-example (text)>
|
|
<!ATTLIST config-example title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT config-section-list (text?, config-section+)>
|
|
<!ATTLIST config-section-list title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT config-section (text, config-key-list?)>
|
|
<!ATTLIST config-section id CDATA #REQUIRED>
|
|
<!ATTLIST config-section name CDATA #REQUIRED>
|
|
|
|
<!ELEMENT config-key-list (config-key+)>
|
|
|
|
<!ELEMENT config-key (summary, text, default?, allow?, example)>
|
|
<!ATTLIST config-key id CDATA #REQUIRED>
|
|
<!ATTLIST config-key name CDATA #REQUIRED>
|
|
|
|
<!ELEMENT execute-list (title, execute+)>
|
|
<!ATTLIST execute-list host CDATA #REQUIRED>
|
|
<!ATTLIST execute-list keyword CDATA "">
|
|
<!ELEMENT execute (exe-cmd, exe-user?, exe-var?, exe-retry?, exe-output?, (exe-highlight-type?, exe-highlight)?,
|
|
exe-err-expect?, exe-err-suppress?, exe-err-suppress-stderr?)>
|
|
<!ATTLIST execute keyword CDATA "">
|
|
<!ATTLIST execute user CDATA "">
|
|
<!ATTLIST execute filter CDATA "">
|
|
<!ATTLIST execute filter-context CDATA "">
|
|
<!ATTLIST execute skip CDATA "">
|
|
<!ATTLIST execute show CDATA "">
|
|
<!ATTLIST execute output CDATA "">
|
|
<!ATTLIST execute err-suppress CDATA "">
|
|
<!ATTLIST execute err-expect CDATA "">
|
|
<!ATTLIST execute retry CDATA "">
|
|
<!ATTLIST execute variable-key CDATA "">
|
|
<!ELEMENT exe-cmd (#PCDATA)>
|
|
<!ELEMENT exe-highlight (#PCDATA)>
|
|
<!ELEMENT exe-highlight-type (#PCDATA)>
|
|
|
|
<!ELEMENT cleanup (execute+)>
|
|
|
|
<!ELEMENT variable-list (variable+)>
|
|
<!ELEMENT variable (#PCDATA)>
|
|
<!ATTLIST variable key CDATA #REQUIRED>
|
|
<!ATTLIST variable keyword CDATA "default">
|
|
<!ATTLIST variable eval CDATA "n">
|
|
|
|
<!ELEMENT backrest-config (title, backrest-config-option+)>
|
|
<!ATTLIST backrest-config host CDATA #REQUIRED>
|
|
<!ATTLIST backrest-config owner CDATA "">
|
|
<!ATTLIST backrest-config show CDATA "">
|
|
<!ATTLIST backrest-config keyword CDATA "">
|
|
<!ATTLIST backrest-config reset CDATA "">
|
|
<!ATTLIST backrest-config file CDATA #REQUIRED>
|
|
<!ELEMENT backrest-config-option (#PCDATA)>
|
|
<!ATTLIST backrest-config-option keyword CDATA "">
|
|
<!ATTLIST backrest-config-option section CDATA #REQUIRED>
|
|
<!ATTLIST backrest-config-option key CDATA #REQUIRED>
|
|
<!ATTLIST backrest-config-option remove CDATA "n">
|
|
|
|
<!ELEMENT postgres-config (title, postgres-config-option+)>
|
|
<!ATTLIST postgres-config host CDATA #REQUIRED>
|
|
<!ATTLIST postgres-config file CDATA #REQUIRED>
|
|
<!ATTLIST postgres-config keyword CDATA "">
|
|
<!ATTLIST postgres-config show CDATA "">
|
|
<!ELEMENT postgres-config-option (#PCDATA)>
|
|
<!ATTLIST postgres-config-option keyword CDATA "">
|
|
<!ATTLIST postgres-config-option key CDATA #REQUIRED>
|
|
|
|
<!ELEMENT option-description EMPTY>
|
|
<!ATTLIST option-description key CDATA #REQUIRED>
|
|
|
|
<!ELEMENT section (title,
|
|
((p|list|table|host-add|execute-list|backrest-config|postgres-config|option-description|code-block)+|
|
|
((p|list)*, section+)|(p|list)*))>
|
|
<!ATTLIST section id CDATA #REQUIRED>
|
|
<!ATTLIST section keyword CDATA "">
|
|
<!ATTLIST section depend CDATA "">
|
|
<!ELEMENT title (#PCDATA|b|i|bi|ul|ol|id|code|file|path|cmd|setting|exe|backrest|postgres|br-option|br-setting|
|
|
pg-option|pg-setting|link|user)*>
|
|
|
|
<!ELEMENT default (#PCDATA)>
|
|
<!ELEMENT allow (#PCDATA)>
|
|
<!ELEMENT example (#PCDATA)>
|
|
|
|
<!ELEMENT changelog (text?, changelog-release+)>
|
|
|
|
<!ELEMENT changelog-release (text?, release-feature-bullet-list)>
|
|
<!ATTLIST changelog-release date CDATA #REQUIRED>
|
|
<!ATTLIST changelog-release version CDATA #REQUIRED>
|
|
<!ATTLIST changelog-release title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT release-feature-bullet-list (release-feature+)>
|
|
|
|
<!ELEMENT release-feature (text)>
|
|
|
|
<!ELEMENT contribute (text)>
|
|
<!ATTLIST contribute title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT recognition (text)>
|
|
<!ATTLIST recognition title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT support (text)>
|
|
<!ATTLIST support title CDATA #REQUIRED>
|
|
|
|
<!-- Host elements -->
|
|
<!ELEMENT host-add (execute*)>
|
|
<!ATTLIST host-add name CDATA #REQUIRED>
|
|
<!ATTLIST host-add user CDATA #REQUIRED>
|
|
<!ATTLIST host-add image CDATA #REQUIRED>
|
|
<!ATTLIST host-add os CDATA "">
|
|
<!ATTLIST host-add mount CDATA "">
|
|
|
|
<!-- Table elements -->
|
|
<!ELEMENT table (title?, table-header, table-data)>
|
|
|
|
<!ELEMENT table-header (table-column+)>
|
|
<!ATTLIST table-header width CDATA "">
|
|
<!ELEMENT table-column (#PCDATA|quote|b|i|id|code|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
<!ATTLIST table-column align CDATA "">
|
|
<!ATTLIST table-column fill CDATA "">
|
|
|
|
<!ELEMENT table-data (table-row+)>
|
|
<!ELEMENT table-row (table-cell+)>
|
|
<!ELEMENT table-cell (#PCDATA|quote|b|i|ul|ol|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
|
|
<!-- Formatted elements -->
|
|
<!ELEMENT summary (#PCDATA|quote|b|i|ul|ol|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
<!ELEMENT p (#PCDATA|quote|b|i|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|br-setting|
|
|
pg-option|pg-setting|link|user)*>
|
|
<!ATTLIST p keyword CDATA "">
|
|
<!ELEMENT text (#PCDATA|quote|b|i|ul|ol|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
<!ELEMENT i (#PCDATA)>
|
|
<!ELEMENT b (#PCDATA)>
|
|
<!ELEMENT ul (li+)>
|
|
<!ELEMENT ol (li+)>
|
|
<!ELEMENT li (#PCDATA|quote|b|i|ul|ol|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
<!ELEMENT list (list-item+)>
|
|
<!ELEMENT list-item (#PCDATA|quote|b|i|ul|ol|id|code|code-block|host|file|path|cmd|setting|exe|backrest|postgres|br-option|
|
|
br-setting|pg-option|pg-setting|link|user)*>
|
|
<!ELEMENT id (#PCDATA)>
|
|
<!ELEMENT code (#PCDATA)>
|
|
<!ELEMENT code-block (#PCDATA|exe)*>
|
|
<!ATTLIST code-block title CDATA #REQUIRED>
|
|
|
|
<!ELEMENT host (#PCDATA)>
|
|
<!ELEMENT file (#PCDATA)>
|
|
<!ELEMENT path (#PCDATA)>
|
|
<!ELEMENT cmd (#PCDATA)>
|
|
<!ELEMENT user (#PCDATA)>
|
|
<!ELEMENT quote (#PCDATA)>
|
|
<!ELEMENT setting (#PCDATA)>
|
|
<!ELEMENT br-option (#PCDATA)>
|
|
<!ELEMENT br-setting (#PCDATA)>
|
|
<!ELEMENT pg-option (#PCDATA)>
|
|
<!ELEMENT pg-setting (#PCDATA)>
|
|
<!ELEMENT exe EMPTY>
|
|
<!ELEMENT backrest EMPTY>
|
|
<!ELEMENT postgres EMPTY>
|
|
<!ELEMENT link (#PCDATA)>
|
|
<!ATTLIST link url CDATA "">
|
|
<!ATTLIST link page CDATA "">
|
|
<!ATTLIST link section CDATA "">
|