mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 01:24:23 +08:00
fe71e62a68
This was semi-automated with ```fish for file in $argv set -l varname (string replace -r '.*/(.*).html' '$1' -- $file | string escape --style=var)pages set -l sections (string replace -rf '.*class="headerlink" href="#([^"]*)".*' '$1' <$file) echo set -l $varname $sections end ``` (where $argv contains the path to faq, fish_for_bash_users, interactive, language and tutorial.html) Building help.fish at compile time would work, but only for users who build the docs. |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish | ||
lynx.lss |