Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite the old documentation #1

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b377ba0
Renamed 'installing' and 'installing filters' documentation pages to …
Nusiq Nov 10, 2024
d055a34
Rewritten the 'introduction.md formerly known as what-is-regolith.md
Nusiq Nov 10, 2024
184ce2c
Updated the installation.md document.
Nusiq Nov 10, 2024
e5520e8
Updated getting-started.md, and added the additional-dependencies.md …
Nusiq Nov 19, 2024
418d9f5
Improved troubleshooting note in the installation.md.
Nusiq Nov 19, 2024
61e94b3
Added a link to getting-started.md, explaining how to use commandline…
Nusiq Dec 1, 2024
16fe004
Moved the 'safety' page to 'introduction' section.
Nusiq Dec 1, 2024
4ca3875
Updated the troubleshooting page.
Nusiq Dec 1, 2024
a8e231b
Small update to instroduction.md.
Nusiq Dec 14, 2024
4d25b60
Improved the getting-started tutorial and some pages linked from it.
Nusiq Dec 14, 2024
08dcc65
Update the configuration.md and change the order of the pages in the …
Nusiq Dec 14, 2024
e361232
Renamed the 'Configuration File' page to 'Project Config File'.
Nusiq Dec 14, 2024
22cac0b
Updated profiles.md and related documentation pages.
Nusiq Dec 14, 2024
5d926d7
Fixed a typo.
Nusiq Dec 14, 2024
7008ac3
Moved some of the pages from the 'advanced' section to 'project-confi…
Nusiq Dec 14, 2024
8dcd157
Update additional-dependencies.md
Nusiq Dec 15, 2024
2c9fee3
Update project-config-file.md
Nusiq Dec 15, 2024
fca2d36
Update README.md to provide local build and contribution instructions.
Nusiq Dec 15, 2024
1a35437
Update README.md
Nusiq Dec 15, 2024
55031c6
Update README.md
Nusiq Dec 15, 2024
45678b0
Update profiles.md.
Nusiq Dec 15, 2024
93a76c3
Update export-targets.md
Nusiq Dec 15, 2024
486a88d
Update export-targets.md
Nusiq Dec 15, 2024
5bac7ee
Added content to the go-simple-eval.md page.
Nusiq Dec 15, 2024
2935a29
Restructured the placement of the documentation pages, without signif…
Nusiq Dec 17, 2024
bf8387d
Partially documented the 'help' command.
Nusiq Dec 20, 2024
e73ee4b
Updated the documentation about installing and updating filters. Part…
Nusiq Dec 21, 2024
56092b3
Documented the autocompletion feature.
Nusiq Dec 22, 2024
9cd7ea1
Improved the code block formatting on some of the pages by removing u…
Nusiq Dec 22, 2024
0d6f8d1
Documented filter resolvers from the user perspective.
Nusiq Dec 22, 2024
1ab6651
Updated running-filters.md.
Nusiq Dec 22, 2024
0711675
Documented the user cache.
Nusiq Dec 23, 2024
57948da
Changed the text formatting in user-configuration.md
Nusiq Dec 23, 2024
b00bfca
Updated the user-configuration.md
Nusiq Dec 23, 2024
54b7d78
Updated experiments.md
Nusiq Dec 27, 2024
b36bfc5
Documented the data folder for regular users.
Nusiq Dec 27, 2024
531bc77
Updated experiments.md
Nusiq Dec 27, 2024
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
74 changes: 72 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,74 @@
# Intorduction
The documentation of the Regolith project.
The repository of the documentation of the Regolith project.

If you're looking for Regolith repository, you can find it here: [https://github.com/Bedrock-OSS/regolith/](https://github.com/Bedrock-OSS/regolith/)
- If you're looking for the hosted documentation, you can find it here: [https://regolith-docs.readthedocs.io/](https://regolith-docs.readthedocs.io/)
- If you're looking for Regolith repository, you can find it here: [https://github.com/Bedrock-OSS/regolith/](https://github.com/Bedrock-OSS/regolith/)

# Contributing
## Building Documentation Locally
This repository uses the `sphinx` documentation generator. The documentation is stored in the `docs` directory. All commands listed below assume that you are executing them from the `docs` directory. You can switch to the `docs` directory by running `cd docs`.

### Installing Documentation Dependencies
To build the documentation you need to install required dependencies.
```
pip install -r requirements.txt
```
### Building Documentation for the First Time
When you build the documentation for the first time, you need
```
./make.bat html
```

### Hosting Documentation Locally
You can host the documentation locally with the Python's built-in HTTP server.
```
python -m http.server --bind localhost -d .\_build\html\
```
Then you can access the documentation at [http://localhost:8000](http://localhost:8000)

### Rebuilding Documentation
To rebuild the documentation you can run the `./make.bat html` but it is recommended to clean the build directory first. You can clean the build directory by running the following command.
```
rm -r _build\;./make.bat html
```

## Documentation Syntax
We're using the `myst-parser` to enable the markdown syntax in the documentation. There are a few things that you need to know about the syntax that aren't part of the standard Markdown.

### Table of Contents

Table of contents is defined in the `index.md` file. It is pretty simple to understand. You can read the `docs/index.md` file to learn by example.

### Labels and References
Sphinx lets you define a name for a sectin of the documentation that you can use to create a hyperlink to that section in othe parts of the documentation. Linking pages like that is safer than linking them by their path because if the path changes, the link will still work.

To define a label for a section, you can use the following syntax:
```markdown
(your-label)=
# Your Section Title
...
```

To link to that section, you can use the following syntax:
```markdown
{ref}`Text To Display<your-label>`
```

When you build the documentation using the `make.bat` script, the commandline output will print warnings about the labels that aren't used or the references that are broken.

### Note and Warning Boxes
You can create a colored box for notes and warnings by using the following syntax:
````markdown
```{note}
This is a note
```
````

````markdown
```{warning}
This is a warning
```
````

## Contribution Process
Simply for the repository, do your changes and create a pull request.
97 changes: 0 additions & 97 deletions docs/advanced/configuration.md

This file was deleted.

66 changes: 0 additions & 66 deletions docs/advanced/data-folder.md

This file was deleted.

131 changes: 0 additions & 131 deletions docs/advanced/export-targets.md

This file was deleted.

Loading