Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ systems - Linux, macOS, BSDs etc. Specifically, Windows is not supported.

`Complete documentation here <https://sh.readthedocs.io/>`_

`Full documentation on a single page for LLM-assisted coding here <https://sh.readthedocs.io/en/latest/fulldoc.html>`_

Installation
============

Expand Down
35 changes: 35 additions & 0 deletions docs/source/fulldoc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Full Documentation
==================

This single page repeats the full documentation for `sh <https://github.com/amoffat/sh/>`, making it easier to put into an LLM's context window. There is nothing on this page that is not mentionned already elsewhere on this site, it's just reorganized as a single page.

.. include:: index.rst

.. include:: tutorials/interacting_with_processes.rst
.. include:: tutorials/real_time_output.rst


.. content linked in index.rst
.. include:: sections/faq.rst
.. include:: sections/contrib.rst
.. include:: sections/sudo.rst

.. content of usage.rst
.. include:: sections/passing_arguments.rst
.. include:: sections/exit_codes.rst
.. include:: sections/redirection.rst
.. include:: sections/asynchronous_execution.rst
.. also contains reference to example/done.rst so no need to mention it explicitely
.. .. include:: examples/done.rst
.. include:: sections/baking.rst
.. include:: sections/piping.rst
.. include:: sections/subcommands.rst
.. include:: sections/default_arguments.rst
.. include:: sections/envs.rst
.. include:: sections/stdin.rst
.. include:: sections/with.rst

.. content of reference.rst
.. include:: sections/special_arguments.rst
.. include:: sections/architecture.rst
.. include:: sections/command_class.rst
8 changes: 6 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
sections/contrib
sections/sudo

tutorials
tutorials
sections/faq


ref_to_fulldoc

.. image:: images/logo-230.png
:alt: Logo

Expand Down Expand Up @@ -156,3 +158,5 @@ Background Processes
p.wait()

:ref:`Read More <background>`

.. include:: ref_to_fulldoc.rst
6 changes: 6 additions & 0 deletions docs/source/ref_to_fulldoc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Single Page
===========

The page below repeats the full documentation for `sh <https://github.com/amoffat/sh/>` as a single page, making it easier to put into an LLM's context window.

:doc:`./fulldoc`