Skip to content

plusserver/docs

Repository files navigation

plusserver: technical documentation repo

plusserver. The technical documentation is published here.

Contributions

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:

  1. Fork the repository by clicking the Fork button on GitHub.

  2. Clone the forked repository to your local machine using the following command:

git clone https://github.com/plusserver/docs.git
  1. Create a new branch to work on your changes:
git checkout -b my-new-branch
  1. Make your changes to the documentation.

  2. Commit your changes with a descriptive commit message.

  3. Push your changes to your forked repository:

git push origin my-new-branch
  1. Open a pull request (PR) from your forked repository to the original repository's main branch.

  2. Wait for the documentation maintainers to review your changes. They may request changes or ask for more information before merging your changes.

Developer Certificate of Origin (DCO) Sign Off

⚠️ Important: All contributions must follow our Developer Certificate of Origin (DCO) sign off process, which means that you must include a 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! 🚀

Developing hugo/docsy

locally with VSCode

Ref: Developing inside a Container

  1. Clone the GitHub repo to your local machine by running the following command in your terminal:
git clone https://github.com/plusserver/docs.git
  1. 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.

  2. Once you have VSCode installed, open the repo directory in VSCode by clicking on File -> Open Folder and selecting the cloned repo directory.

  3. 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. Click Reopen in Container to continue.

  4. Wait for the devcontainer to build and start, which may take a few minutes depending on your system's specifications and network speed.

  5. Once the devcontainer is up and running, you can start working on your project inside the container. You can open a terminal in VSCode by clicking on Terminal -> New Terminal. From there, you can use all the tools and utilities that are installed inside the container.

  6. 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.

  7. When you're ready to commit and push 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.

GitHub codespaces

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.