plusserver. The technical documentation is published here.
Hi, 👋 we welcome your contributions to our technical documentation! Whether you're fixing a typo, updating existing guides, or creating new ones, your contributions help us improve our documentation for the community.
To contribute, follow these steps:
-
Fork the repository by clicking the
Fork
button on GitHub. -
Clone the forked repository to your local machine using the following command:
git clone https://github.com/plusserver/docs.git
- Create a new branch to work on your changes:
git checkout -b my-new-branch
-
Make your changes to the documentation.
-
Commit your changes with a descriptive
commit
message. -
Push your changes to your forked repository:
git push origin my-new-branch
-
Open a
pull request (PR)
from your forked repository to the original repository'smain
branch. -
Wait for the documentation maintainers to review your changes. They may request changes or ask for more information before merging your changes.
DCO Sign Off
in every commit message. You can do this by adding the --signoff
flag to your git commit
command:
# Sign off a commit as you're making it
git commit --signoff -m "Update README.md"
# Add a signoff to the last commit you made
git commit --amend --signoff
# Rebase your branch against master and sign off every commit in your branch
git rebase --signoff master
Please note that PRs without DCO Sign Off
will not be accepted.
Thank you for your contributions to our technical documentation! 🚀
Ref: Developing inside a Container
- Clone the GitHub repo to your local machine by running the following command in your terminal:
git clone https://github.com/plusserver/docs.git
-
Make sure you have Visual Studio Code (VSCode) installed on your machine. If you don't have it already, you can download it from the official website.
-
Once you have VSCode installed, open the repo directory in VSCode by clicking on
File -> Open Folder
and selecting the cloned repo directory. -
VSCode will automatically detect that the repo contains
devcontainer
configuration file (.devcontainer/devcontainer.json
) and ask if you want to reopen the folder in a container. ClickReopen in Container
to continue. -
Wait for the
devcontainer
to build and start, which may take a few minutes depending on your system's specifications and network speed. -
Once the
devcontainer
is up and running, you can start working on your project inside the container. You can open aterminal
in VSCode by clicking onTerminal -> New Terminal
. From there, you can use all the tools and utilities that are installed inside the container. -
To run a local development server simply run
hugo server
in a Terminal. Now you can open a browser on http://localhost:1313/ to have a live view of your changes. -
When you're ready to
commit
andpush
your changes to the GitHub repo, simply use the Git CLI inside the container or the built-in Git extension in VSCode to commit and push your changes.
Quickstart for GitHub Codespaces
See above. By following these steps, you can use devcontainers
in combination with GitHub codepages to create a consistent and reproducible development environment for your project, making it easy to collaborate with others and share your work with the wider community.