fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d835c5252
master
1# localization: tier3 2function __fish_complete_docutils -a cmd 3complete -x -c$cmd -k -a"(__fish_complete_suffix .rst .txt)" 4 5# General Docutils Options 6complete -c$cmd -l title -d"Specify the docs title" 7complete -c$cmd -s g -l generator -d"Include a generator credit" 8complete -c$cmd -l no-generator -d"Don't include a generator credit" 9complete -c$cmd -s d -l date -d"Include the date at the end of the docs" 10complete -c$cmd -s t -l time -d"Include the time and date" 11complete -c$cmd -l no-datestamp -d"Don't include a datestamp" 12complete -c$cmd -s s -l source-link -d"Include a source link" 13complete -c$cmd -l source-url -d"Use URL for a source link" 14complete -c$cmd -l no-source-link -d"Don't include a source link" 15complete -c$cmd -l toc-entry-backlinks -d"Link from section headers to TOC entries" 16complete -c$cmd -l toc-top-backlinks -d"Link from section headers to the top of the TOC" 17complete -c$cmd -l no-toc-backlinks -d"Disable backlinks to the TOC" 18complete -c$cmd -l footnote-backlinks -d"Link from footnotes/citations to references" 19complete -c$cmd -l no-footnote-backlinks -d"Disable backlinks from footnotes/citations" 20complete -c$cmd -l section-numbering -d"Enable section numbering" 21complete -c$cmd -l no-section-numbering -d"Disable section numbering" 22complete -c$cmd -l strip-comments -d"Remove comment elements" 23complete -c$cmd -l leave-comments -d"Leave comment elements" 24complete -c$cmd -l strip-elements-with-class -d"Remove all elements with classes" 25complete -c$cmd -l strip-class -d"Remove all classes attributes" 26complete -x -c$cmd -s r -l report -a"info warning error severe none 1 2 3 4 5" -d"Report system messages" 27complete -c$cmd -s v -l verbose -d"Report all system messages" 28complete -c$cmd -s q -l quiet -d"Report no system messages" 29complete -x -c$cmd -l halt -a"info warning error severe none 1 2 3 4 5" -d"Halt execution at system messages" 30complete -c$cmd -l strict -d"Halt at the slightest problem" 31complete -x -c$cmd -l exit-status -a"info warning error severe none 1 2 3 4 5" -d"Enable a non-zero exit status" 32complete -c$cmd -l debug -d"Enable debug output" 33complete -c$cmd -l no-debug -d"Disable debug output" 34complete -c$cmd -l warnings -d"File to output system messages" 35complete -c$cmd -l traceback -d"Enable Python tracebacks" 36complete -c$cmd -l no-traceback -d"Disable Python tracebacks" 37complete -c$cmd -s i -l input-encoding -d"Encoding of input text" 38complete -x -c$cmd -l input-encoding-error-handler -a"strict ignore replace" -d"Error handler" 39complete -c$cmd -s o -l output-encoding -d"Encoding for output" 40complete -x -c$cmd -l output-encoding-error-handler -a"strict ignore replace xmlcharrefreplace backslashreplace" -d"Error handler" 41complete -c$cmd -s e -l error-encoding -d"Encoding for error output" 42complete -x -c$cmd -l error-encoding-error-handler -d"Error handler" 43complete -c$cmd -s l -l language -d"Specify the language" 44complete -c$cmd -l record-dependencies -d"File to write output file dependencies" 45complete -c$cmd -l config -d"File to read configs" 46complete -c$cmd -s V -l version -d"Show version number" 47complete -c$cmd -s h -l help -d"Show help message" 48 49# reStructuredText Parser Options 50complete -c$cmd -l pep-references -d"Link to standalone PEP refs" 51complete -c$cmd -l pep-base-url -d"Base URL for PEP refs" 52complete -c$cmd -l pep-file-url-template -d"Template for PEP file part of URL" 53complete -c$cmd -l rfc-references -d"Link to standalone RFC refs" 54complete -c$cmd -l rfc-base-url -d"Base URL for RFC refs" 55complete -c$cmd -l tab-width -d"Specify tab width" 56complete -c$cmd -l trim-footnote-reference-space -d"Remove spaces before footnote refs" 57complete -c$cmd -l leave-footnote-reference-space -d"Leave spaces before footnote refs" 58complete -c$cmd -l no-file-insertion -d"Disable directives to insert file" 59complete -c$cmd -l file-insertion-enabled -d"Enable directives to insert file" 60complete -c$cmd -l no-raw -d"Disable the 'raw' directives" 61complete -c$cmd -l raw-enabled -d"Enable the 'raw' directives" 62complete -x -c$cmd -l syntax-highlight -a"long short none" -d"Token name set for Pygments" 63complete -x -c$cmd -l smart-quotes -a"yes no alt" -d"Change straight quotation marks" 64complete -c$cmd -l smartquotes-locales -d"'smart quotes' for the language" 65complete -c$cmd -l word-level-inline-markup -d"Inline markup at word level" 66complete -c$cmd -l character-level-inline-markup -d"Inline markup at character level" 67end 68 69function __fish_complete_docutils_standalone_reader -d"Completions for Docutils standalone reader options" -a cmd 70# Standalone Reader 71complete -c$cmd -l no-doc-title -d"Disable the docs title" 72complete -c$cmd -l no-doc-info -d"Disable the docs info" 73complete -c$cmd -l section-subtitles -d"Enable section subtitles" 74complete -c$cmd -l no-section-subtitles -d"Disable section subtitles" 75end 76 77function __fish_complete_docutils_html -d"Completions for Docutils HTML options" -a cmd 78# HTML-Specific Options 79complete -c$cmd -l template -d"Specify the template" 80complete -c$cmd -l stylesheet -d"List of stylesheet URLs" 81complete -c$cmd -l stylesheet-path -d"List of stylesheet paths" 82complete -c$cmd -l embed-stylesheet -d"Embed the stylesheets" 83complete -c$cmd -l link-stylesheet -d"Link to the stylesheets" 84complete -c$cmd -l stylesheet-dirs -d"List of directories where stylesheets are found" 85complete -x -c$cmd -l initial-header-level -a"1 2 3 4 5 6" -d"Specify the initial header level" 86 87if test $cmd != rst2html5 88complete -c$cmd -l field-name-limit -d"Specify the limit for field names" 89complete -c$cmd -l option-limit -d"Specify the limit for options" 90end 91 92complete -x -c$cmd -l footnote-references -a"superscript brackets" -d"Format for footnote refs" 93complete -x -c$cmd -l attribution -a"dash parens none" -d"Format for block quote attr" 94complete -c$cmd -l compact-lists -d"Enable compact lists" 95complete -c$cmd -l no-compact-lists -d"Disable compact lists" 96complete -c$cmd -l compact-field-lists -d"Enable compact field lists" 97complete -c$cmd -l no-compact-field-lists -d"Disable compact field lists" 98 99if test $cmd = rst2html5 100complete -x -c$cmd -l table-style -a"borderless booktabs align-left align-center align-right colwidths-auto" -d"Specify table style" 101else 102complete -x -c$cmd -l table-style -a borderless -d"Specify table style" 103end 104 105complete -x -c$cmd -l math-output -a"MathML HTML MathJax LaTeX" -d"Math output format" 106 107if test $cmd = rst2html5 108complete -c$cmd -l xml-declaration -d"Prepend an XML declaration" 109end 110 111complete -c$cmd -l no-xml-declaration -d"Omit the XML declaration" 112complete -c$cmd -l cloak-email-addresses -d"Obfuscate email addresses" 113end 114 115function __fish_complete_docutils_latex -d"Completions for Docutils LaTeX options" -a cmd 116# LaTeX-Specific Options 117complete -c$cmd -l documentclass -d"Specify LaTeX documentclass" 118complete -c$cmd -l documentoptions -d"Specify docs options" 119complete -x -c$cmd -l footnote-references -a"superscript brackets" -d"Format for footnote refs" 120complete -x -c$cmd -l use-latex-citations -d"Use \cite command for citations" 121complete -x -c$cmd -l figure-citations -d"Use figure floats for citations" 122complete -x -c$cmd -l attribution -a"dash parens none" -d"Format for block quote attr" 123complete -c$cmd -l stylesheet -d"Specify LaTeX packages/stylesheets" 124complete -c$cmd -l stylesheet-path -d"List of LaTeX packages/stylesheets" 125complete -c$cmd -l link-stylesheet -d"Link to the stylesheets" 126complete -c$cmd -l embed-stylesheet -d"Embed the stylesheets" 127complete -c$cmd -l stylesheet-dirs -d"List of directories where stylesheets are found" 128complete -c$cmd -l latex-preamble -d"Customization the preamble" 129complete -c$cmd -l template -d"Specify the template" 130complete -c$cmd -l use-latex-toc -d"TOC by LaTeX" 131complete -c$cmd -l use-docutils-toc -d"TOC by Docutils" 132complete -c$cmd -l use-part-section -d"Add parts on top of the section hierarchy" 133complete -c$cmd -l use-docutils-docinfo -d"Use Docutils docinfo" 134complete -c$cmd -l use-latex-docinfo -d"Use LaTeX docinfo" 135complete -c$cmd -l topic-abstract -d"Typeset abstract as topic" 136complete -c$cmd -l use-latex-abstract -d"Use LaTeX abstract" 137complete -c$cmd -l hyperlink-color -d"Specify color of hyperlinks" 138complete -c$cmd -l hyperref-options -d"Additional options to the 'hyperref' package" 139complete -c$cmd -l compound-enumerators -d"Enable compound enumerators" 140complete -c$cmd -l no-compound-enumerators -d"Disable compound enumerators" 141complete -c$cmd -l section-prefix-for-enumerators -d"Enable section prefixes" 142complete -c$cmd -l no-section-prefix-for-enumerators -d"Disable section prefixes" 143complete -c$cmd -l section-enumerator-separator -d"Set the section enumerator separator" 144complete -c$cmd -l literal-block-env -d"Specify env for literal-blocks" 145complete -c$cmd -l use-verbatim-when-possible -d"Use 'verbatim' for literal-blocks" 146complete -x -c$cmd -l table-style -a"standard booktabs borderless" -d"Table style" 147complete -x -c$cmd -l graphicx-option -a"dvips pdftex auto" -d"LaTeX graphicx package option" 148 149if test $cmd = rst2latex 150complete -x -c$cmd -l font-encoding -a"T1 OT1 LGR,T1" -d"LaTeX font encoding" 151end 152 153complete -c$cmd -l reference-label -d"Puts the refs label" 154complete -c$cmd -l use-bibtex -d"Style and database for bibtex" 155complete -c$cmd -l docutils-footnotes -d"Footnotes by Docutils" 156end