Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strongbox/strongbox-docs
https://github.com/strongbox/strongbox-docs
hacktoberfest
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/strongbox/strongbox-docs
- Owner: strongbox
- License: apache-2.0
- Created: 2019-02-09T23:16:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T23:14:09.000Z (almost 4 years ago)
- Last Synced: 2024-03-27T09:24:38.176Z (9 months ago)
- Topics: hacktoberfest
- Language: HTML
- Homepage: https://strongbox.github.io/
- Size: 7.46 MB
- Stars: 4
- Watchers: 14
- Forks: 35
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# Pre-requisites
* Docker
**OR**
* python3
* pip
* mkdocs-material (it should install mkdocs automatically)
* mkdocs-markdownextradata-plugin
* mkdocs-git-revision-date-plugin# Getting Started
If you prefer to go with locally installed `python` and `pip`, then:
1. `pip install -r requirements.txt`
2. `mkdocs serve` (binds to `http://localhost:8000`)If you prefer going the `docker-compose` way:
1. `docker-compose up` (binds to `http://localhost:8000`)
If you prefer plain `docker`:
`docker run -it --rm -v ./:/docs -p 8000:8000 strongboxci/mkdocs:base mkdocs serve`
# Building
Execute one of these (depending on your local setup):
1. `mkdocs build`
2. `docker run -it --rm -v ./:/docs -p 8000:8000 strongboxci/mkdocs:base mkdocs build`# Live Pre-view:
Run the following and then browse to `localhost:8000`:
```
docker-compose up
```# Guidelines For Contributors
* When adding new pages it is preferable to have the filename with lowercase characters.
* The first line of the page should be `# Page Title` - this helps in the indexing and search afterwards.
* Avoid using `h1` (i.e `# my header`) at places other than the page title. Having multiple `h1`
confuses the `Table of contents` section so please avoid that as well.
* If you are adding a `resource` like `PDF`, `image`, `XML` file, it should be placed under `./docs/assets/resources/`.
* Use `{{resource}}/path/to/asset` when linking to the resource. You can also use `{{url}}` and ``{{assets}}`` depending
on which link you need.
* An exception is when linking to internal docs. Just use relative URLs to the markdown file. Mkdocs will take care to build the links. Follow [this guide][mkdocs internal-links].
* Please avoid using `inline links` and use `reference links` instead as it makes maintenance easier.
Avoid this example:
```
[I'm an inline-style link pointing to Strongbox](https://github.com/strongbox/strongbox) and here is some text in addition so that I can then add again the same link [I'm an inline-style link pointing to Strongbox](https://github.com/strongbox/strongbox)
```
Prefered example:
```
[I'm a reference link to Strongbox] and here is some text in addition so that I can then add again the same link [I'm a reference link to Strongbox], we can have this link repeating forever in the document and easily change it by just changing it from where reference is. ([I'm a reference link to Strongbox] just for fun.)
// insert somewhere at the bottom of the page
[I'm a reference link to Strongbox]: https://github.com/strongbox/strongbox
```# Pull Requests
Shortly after you open a pull request, a hook will trigger live preview deployiment to netlify.com. You will be able to check your PR live at the link `deploy/netlify` provides in github's PR checks section.
# Structure
We have divided the documentation into 3 sections:
1. `User guide` - pages with instructions for how to use Strongbox as a normal "user".
2. `Developer guide` - pages with instructions for developers who are interested in contributing.
3. `Knowledge base` - pages which explain some of our concepts as well as other important information.[mkdocs internal-links]: https://www.mkdocs.org/user-guide/writing-your-docs/#internal-links