Skip to content

Commit

Permalink
move documentation into own sub page of contrib guide IQSS#10531
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 12, 2024
1 parent 22d9a20 commit 0b7cb9f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
28 changes: 28 additions & 0 deletions doc/sphinx-guides/source/contributor/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Writing Documentation

Thank you for your interest in contributing documentation to Dataverse! Good documentation is absolutely critical to the success of a software project.

```{contents} Contents:
:local:
:depth: 3
```

## Where the Source Files Live

The source for the documentation is in the main "dataverse" GitHub repo under the "[doc][]" folder.

[doc]: https://github.com/IQSS/dataverse/tree/develop/doc/sphinx-guides/source

## Tools

The {doc}`/developers/documentation` section of the Developer Guide has, for a long time, been the primary place to find information about the tools we use to write docs. We may move some of that content here, but until then, please visit that page.

## Writing Style Guidelines

Please observe the following when writing documentation:

- Use American English spelling.
- Use examples when possible.
- Break up longer paragraphs.
- Use "double quotes" instead of 'single quotes'.
- Favor "and" (data and code) over slashes (data/code).
15 changes: 5 additions & 10 deletions doc/sphinx-guides/source/contributor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,12 @@ If you do not receive a reply to your new issue or comment in a timely manner, p

## Documentation

The source for the documentation is in the GitHub repo under the "[doc][]" folder. If you find a typo or inaccuracy or something to clarify, please send us a pull request! For more on the tools used to write docs, please see the {doc}`/developers/documentation` section of the Developer Guide.
Documentation is such a large topic (and important!) that we have a dedicate section on it:

Please observe the following when writing documentation:

- Use American English spelling.
- Use examples when possible.
- Break up longer paragraphs.
- Use "double quotes" instead of 'single quotes'.
- Favor "and" (data and code) over slashes (data/code).

[doc]: https://github.com/IQSS/dataverse/tree/develop/doc/sphinx-guides/source
```{toctree}
:maxdepth: 1
documentation.md
```

## Translations

Expand Down
2 changes: 2 additions & 0 deletions doc/sphinx-guides/source/developers/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Writing Documentation
=====================

Note: in the Contributor Guide, there is a section called :doc:`/contributor/documentation`.

.. contents:: |toctitle|
:local:

Expand Down

0 comments on commit 0b7cb9f

Please sign in to comment.