Skip to content

Commit

Permalink
Switching docs to markdown only (facebookresearch#3003)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenroller authored Aug 27, 2020
1 parent c7f4b64 commit 00efcbe
Show file tree
Hide file tree
Showing 78 changed files with 3,223 additions and 2,902 deletions.
14 changes: 7 additions & 7 deletions docs/source/agents_list.rst → docs/source/agents_list.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Standard Agents
---------------
# Standard Agents

ParlAI comes with a wide variety of standardized agents. Some of these are
common baselines made available for quicker research; some can be made
state-of-the-art with careful tuning and experimentation. Each of these contains
a README with examples of usage and description of the agent.

.. toctree::
:maxdepth: 1
:caption: List of Agents
:glob:
```{toctree}
:maxdepth: 1
:caption: List of Agents
:glob:
agent_refs/*
agent_refs/*
```
6 changes: 6 additions & 0 deletions docs/source/cli_advanced.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Advance Scripts

These are the more obscure and advanced scripts in parlai.

```{include} cli_advanced.inc
```
6 changes: 0 additions & 6 deletions docs/source/cli_advanced.rst

This file was deleted.

38 changes: 38 additions & 0 deletions docs/source/cli_usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Main scripts

This contains the command line usage for each of the standard scripts we
release. These are each included in `parlai/scripts`, and all may
be invoked with the "parlai" supercommand.

The parlai supercommand may be invoked from the command line by running
`parlai` after installing ParlAI. Its default output looks like this:

```none
usage: parlai [-h] [--helpall] COMMAND ...
_
/")
//)
==//'=== ParlAI
/
optional arguments:
-h, --help show this help message and exit
--helpall show all commands, including advanced ones.
Commands:
display_data (dd) Display data from a task
display_model (dm) Display model predictions.
eval_model (em, eval) Evaluate a model
train_model (tm, train) Train a model
interactive (i) Interactive chat with a model on the command line
safe_interactive Like interactive, but adds a safety filter
self_chat Generate self-chats of a model
The remainder of this page describes each of the commands, their possible arguments,
and some examples of their usage.
```

```{include} cli_usage.inc
```
38 changes: 0 additions & 38 deletions docs/source/cli_usage.rst

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@

# myst options
myst_admonition_enable = True
myst_amsmath_enable = True
# myst_amsmath_enable = True
myst_html_img_enable = True
myst_dmath_enable = True
# myst_dmath_enable = True


# -- Options for HTMLHelp output ------------------------------------------
Expand Down
11 changes: 11 additions & 0 deletions docs/source/core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# parlai.core

This contains the full, comprehensive docstrings of all of `parlai.core`,
which powers the vast majority of ParlAI.

```{toctree}
:maxdepth: 1
:glob:
core/*
```
11 changes: 0 additions & 11 deletions docs/source/core.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/source/core/agents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# parlai.core.agents
```{eval-rst}
.. automodule:: parlai.core.agents
:members:
```
4 changes: 0 additions & 4 deletions docs/source/core/agents.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/source/core/build_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# parlai.core.build_data
```{eval-rst}
.. automodule:: parlai.core.build_data
:members:
```
4 changes: 0 additions & 4 deletions docs/source/core/build_data.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/source/core/dict.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# parlai.core.dict
```{eval-rst}
.. automodule:: parlai.core.dict
:members:
```
4 changes: 0 additions & 4 deletions docs/source/core/dict.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/source/core/loader.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# parlai.core.loader
```{eval-rst}
.. automodule:: parlai.core.loader
:members:
```
4 changes: 0 additions & 4 deletions docs/source/core/loader.rst

This file was deleted.

Loading

0 comments on commit 00efcbe

Please sign in to comment.