Skip to content

Commit f725917

Browse files
authored
Merge pull request #3498 from stsewd/update-docs
Update docs
2 parents 4e277e1 + c870ceb commit f725917

File tree

4 files changed

+40
-34
lines changed

4 files changed

+40
-34
lines changed

docs/builds.rst

+3-7
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ We will look inside a ``doc`` or ``docs`` directory first,
3737
and then look within your entire project.
3838

3939
Then Sphinx will build any files with an ``.rst`` extension.
40-
If you have a ``README.rst``,
41-
it will be transformed into an ``index.rst`` automatically.
4240

43-
Mkdocs
41+
MkDocs
4442
~~~~~~
4543

4644
When you choose *Mkdocs* as your *Documentation Type*,
@@ -50,10 +48,8 @@ we will generate one for you.
5048
We will look inside a ``doc`` or ``docs`` directory first,
5149
and then default to the top-level of your documentation.
5250

53-
Then Mkdocs will build any files with an ``.md`` extension.
54-
If you have a ``README.md``,
55-
it will be transformed into an ``index.md`` automatically.
56-
As MkDocs doesn't support automatic PDF generation,
51+
Then MkDocs will build any files with a ``.md`` extension.
52+
As MkDocs doesn't support automatic PDF generation,
5753
Read the Docs cannot create a PDF version of your documentation with the *Mkdocs* option.
5854

5955
Understanding what's going on

docs/docs.rst

+27-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,30 @@ You can build the docs by installing ``Sphinx`` and running::
1010
# in the docs directory
1111
make html
1212

13-
Let us know if you have any questions or want to contribute to the documentation.
13+
Please follow these guidelines when updating our docs.
14+
Let us know if you have any questions or something isn't clear.
15+
16+
The brand
17+
---------
18+
19+
We are called **Read the Docs**.
20+
The *the* is not capitalized.
21+
22+
We do however use the acronym **RTD**.
23+
24+
Titles
25+
------
26+
27+
For page titles, or Heading1 as they are sometimes called, we use title-case.
28+
29+
If the page includes multiple sub-headings (H2, H3),
30+
we usually use sentence-case unless the titles include terminology that is supposed to be capitalized.
31+
32+
Content
33+
-------
34+
35+
* Do not break the content across multiple lines at 80 characters,
36+
but rather break them on semantic meaning (e.g. periods or commas).
37+
Read more about this `here <http://rhodesmill.org/brandon/2012/one-sentence-per-line/>`_.
38+
* If you are cross-referencing to a different page within our website,
39+
use the ``doc`` directive and not a hyperlink.

docs/faq.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ as it `breaks the internet <http://www.w3.org/Provider/Style/URI.html>`_.
2323
Help, my build passed but my documentation page is 404 Not Found!
2424
-----------------------------------------------------------------
2525

26-
This often happens becuase you don't have an `index.html` file being generated.
26+
This often happens because you don't have an `index.html` file being generated.
2727
Make sure you have one of the following files:
2828

2929
* `index.rst`
@@ -57,7 +57,7 @@ environment, and will be set to ``True`` when building on RTD::
5757
{% endif %}
5858

5959
I get import errors on libraries that depend on C modules
60-
----------------------------------------------------------
60+
---------------------------------------------------------
6161

6262
.. note::
6363
Another use case for this is when you have a module with a C extension.

docs/install.rst

+8-24
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _installing-read-the-docs:
22

33
Installation
4-
=============
4+
============
55

66
Here is a step by step plan on how to install Read the Docs.
77
It will get you to a point of having a local running instance.
@@ -144,34 +144,18 @@ While the webserver is running, you can build documentation for the latest versi
144144
a project called 'pip' with the ``update_repos`` command. You can replace 'pip'
145145
with the name of any added project::
146146

147-
python manage.py update_repos pip
147+
python manage.py update_repos pip
148148

149149
What's available
150150
----------------
151151

152152
After registering with the site (or creating yourself a superuser account),
153153
you will be able to log in and view the `dashboard <http://localhost:8000/dashboard/>`_.
154154

155-
From the dashboard you can import your existing
156-
docs provided that they are in a git or mercurial repo.
155+
Importing your docs
156+
^^^^^^^^^^^^^^^^^^^
157157

158-
159-
Creating new Docs
160-
^^^^^^^^^^^^^^^^^
161-
162-
One of the goals of `readthedocs.org <http://readthedocs.org>`_ is to make it
163-
easy for any open source developer to get high quality hosted docs with great
164-
visibility! We provide a simple editor and two sample pages whenever
165-
a new project is created. From there its up to you to fill in the gaps - we'll
166-
build the docs, give you access to history on every revision of your files,
167-
and we plan on adding more features in the weeks and months to come.
168-
169-
170-
Importing existing docs
171-
^^^^^^^^^^^^^^^^^^^^^^^
172-
173-
The other side of `readthedocs.org <http://readthedocs.org>`_ is hosting the
174-
docs you've already built. Simply provide us with the clone URL to your repo,
175-
we'll pull your code, extract your docs, and build them! We make available
176-
a post-commit webhook that can be configured to update the docs on our site
177-
whenever you commit to your repo, effectively letting you 'set it and forget it'.
158+
One of the goals of readthedocs.org is to make it easy for any open source developer to get high quality hosted docs with great visibility!
159+
Simply provide us with the clone URL to your repo, we'll pull your code, extract your docs, and build them!
160+
We make available a post-commit webhook that can be configured to update the docs whenever you commit to your repo.
161+
See our :doc:`getting_started` page to learn more.

0 commit comments

Comments
 (0)