Break out commands into its own file

This commit is contained in:
ridiculousfish 2019-02-10 18:01:37 -08:00
parent fb75d0f848
commit 3debfe7534
3 changed files with 21 additions and 8 deletions

View file

@ -0,0 +1,12 @@
.. highlight:: fish
Commands
============
fish ships with the following commands:
.. toctree::
:glob:
:maxdepth: 1
cmds/*

View file

@ -104,7 +104,7 @@ html_static_path = ['_static']
# default: ``['localtoc.html', 'relations.html', 'sourcelink.html', # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
# 'searchbox.html']``. # 'searchbox.html']``.
# #
# html_sidebars = {} html_sidebars = { '**': ['globaltoc.html', 'localtoc.html', 'searchbox.html'] }
# -- Options for HTMLHelp output --------------------------------------------- # -- Options for HTMLHelp output ---------------------------------------------

View file

@ -5,13 +5,6 @@ Introduction
This is the documentation for ``fish``, the friendly interactive shell. fish is a user friendly commandline shell intended mostly for interactive use. A shell is a program used to execute other programs. For the latest information on fish, please visit the `fish homepage <https://fishsshell.com/>`_. This is the documentation for ``fish``, the friendly interactive shell. fish is a user friendly commandline shell intended mostly for interactive use. A shell is a program used to execute other programs. For the latest information on fish, please visit the `fish homepage <https://fishsshell.com/>`_.
.. toctree::
:glob:
:maxdepth: 1
cmds/*
.. _syntax: .. _syntax:
Syntax overview Syntax overview
@ -318,6 +311,14 @@ Help
Help on a specific builtin can also be obtained with the ``-h`` parameter. For instance, to obtain help on the ``fg`` builtin, either type ``fg -h`` or ``help fg``. Help on a specific builtin can also be obtained with the ``-h`` parameter. For instance, to obtain help on the ``fg`` builtin, either type ``fg -h`` or ``help fg``.
Commands
========
.. toctree::
:maxdepth: 1
commands
Autosuggestions Autosuggestions
=============== ===============