This repository contains the documentation, both guides and .NET API docs, for Remora projects.
To get started with contribution, follow the steps below:
- Fork this repository.
git clone
your fork with the--recurse-submodules
parameter- Navigate to
templates/discordfx/discordfx/
and renametoc.html.tmlp
totoc.html.primary.tmpl
After this is complete, you may follow the instructions below to add additional documentation.
- Under /docs, create a new directory with the name of the Remora project. We'll use Remora.MyProject for this guide.
- Under /docs/Remora.MyProject, create a new file called toc.yml. This will be the toc file for all pages under this section. Add the following code:
items:
- name: Remora.MyProject
href: index.md
- Under /docs/Remora.MyProject, create a new file called index.md. This will be the index page for the library.
- Open the git terminal to the project root
documentation/
- Run the following command:
git submodule add https://github.com/Remora/Remora.MyProject.git src/Remora.MyProject
- Navigate to the
src/
folder and update the toc.yml line. Add the following entry:
- name: Remora.MyProject
href: Remora.MyProject/remora.myproject.yml
- Open the git console.
- Navigate to the submodule directory:
cd src/Remora.MyProject
- Pull the changes repo:
git pull origin main
- Go back to the root directory:
cd ../..
- Commit the changes.
git add src/Remora.MyProject
git commit -m "Update Remora.MyProject api documentation"
git push