Fabian Homborg
6cf61d5235
docs/fish_git_prompt: Fix formatting
...
Sphinx likes empty lines before lists.
Also give variable names the ``treatment``.
[ci skip]
2019-03-28 22:11:28 +01:00
Fabian Homborg
c94fe0f8c9
docs/fish_git_prompt: Document default settings
...
This should help with interpreting the results.
All this is quite convoluted, especially with defaults dependent on
other settings.
[ci skip]
2019-03-28 21:16:05 +01:00
Fabian Homborg
b86200938f
Always use "." for cd
...
Nobody doesn't want to use $PWD to cd, so if $CDPATH does not include
it that was a mistake.
Bash also appends "." here.
Fixes #4484 .
2019-03-26 10:11:36 +01:00
Fabian Homborg
848d538f08
docs: Replace @key markup with :kbd:
...
The best I could find. It doesn't currently appear to render in the
html, but it's better than showing `@key{thing}`.
2019-03-24 19:59:23 +01:00
Fabian Homborg
295286b184
docs: Fix remaining "\subsection" markup
...
See #5696 .
[ci skip]
2019-03-24 19:44:56 +01:00
Fabian Homborg
f8b88d5b98
docs/fish_git_prompt: Better document variables
...
More accurate, also the code example can now be copy-pasted.
[ci skip]
2019-03-19 21:07:49 +01:00
Fabian Homborg
e7a964fdfa
[count] Allow counting lines from stdin
...
As a simple replacement for `wc -l`.
This counts both lines on stdin _and_ arguments.
So if "file" has three lines, then `count a b c < file` will print 6.
And since it counts newlines, like wc, `echo -n foo | count` prints 0.
2019-03-15 14:31:36 +01:00
Fabian Homborg
4a67d9015b
docs/command: Make it clearer that -a
needs a commandname
...
Fixes #5107 .
[ci skip]
2019-03-14 21:07:10 +01:00
ridiculousfish
6cd8856484
Add the vcs prompts to sphinx docs
2019-02-24 18:21:36 -08:00
ridiculousfish
9a35df059a
Clean up fish_breakpoint_prompt sphinx docs
2019-02-24 18:15:48 -08:00
ridiculousfish
d5e0392964
Incorporate most new doc changes since branch
...
Adds most documentation changes since 72c0213d42
2019-02-24 18:15:48 -08:00
ridiculousfish
c8dc306b18
Fix command section separator line lengths
2019-02-24 18:15:48 -08:00
ridiculousfish
0e936198db
Switch backticks to double backticks for rst compatibility
2019-02-24 18:15:48 -08:00
ridiculousfish
2a002a4ba1
Switch \fish sections to rst format
2019-02-24 18:15:48 -08:00
ridiculousfish
c33d1a217c
Convert \\subsection sections into rst format
2019-02-24 18:15:48 -08:00
ridiculousfish
256c2dadee
Migrate the 'synopsis' sections to .rst format
2019-02-24 18:15:48 -08:00
ridiculousfish
c213882511
Switch command docs from \section to reStructuredText
2019-02-24 18:15:48 -08:00
ridiculousfish
afd035f8cc
Copy doc_src to sphinx_doc_src and add a TOC
2019-02-24 18:15:48 -08:00