GithubHelp home page GithubHelp logo

fxrazor / documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qovery/documentation

0.0 0.0 0.0 451.14 MB

Qovery documentation website

Home Page: https://docs.qovery.com

License: Apache License 2.0

Shell 2.03% JavaScript 16.70% Ruby 9.33% TypeScript 1.58% CSS 6.21% Makefile 0.31% HTML 61.28% Dockerfile 2.56%

documentation's Introduction

Documentation

This website is built using Docusaurus 2, a modern static website generator.

Installation and usage (Docker)

You can simply use Docker this way:

docker run -it --rm -v $(pwd):/mnt/documentation -p 3000:3000 qoveryrd/doc:0.2.1 /mnt/documentation/scripts/docker.sh

Open a browser to http://localhost:3000

Installation and usage (Local)

Installation (website)

cd website
yarn

Starting the website locally

cd website
yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Updating documentation, guides and articles

First, install Ruby gems used for markdown generation in scripts folder:

cd scripts
bundle install

Most of the markdown is generated using Ruby templates. You should never update the markdown files - instead, update the Ruby template file.

Markdown is generated using ERB (Embedded RuBy). Instead of editing .md files directly, remember to apply your changes to some_doc.md.erb and then generate markdown by running make generate USE_CONTAINER=none in the root folder of the documentation repository.

Running make generate USE_CONTAINER=none will apply your changes to all affected markdown files. The make command should be executed in the root folder of this repository. Commit, push & create a PR after running the make generate USE_CONTAINER=none with markdown files generated by the templating system.

If you want to have live update writing (the web ui is updated on any save), you can use this:

./scripts/live_update.sh

Screenshot guidelines

  • No background
  • No rounded corners
  • No browser header

Preferred screenshot tools:

  • Flameshot
  • Skitch (only MacOs)

Example

To update the Getting Started page in the docs, update the website/docs/getting-started.md.erb instead of website/docs/getting-started.md file (see the difference in .erb file extension). After making changes to the template, run make generate USE_CONTAINER=none in the root folder of the repository. The last step - commit and push your changes, open a PR, and wait for your changes to go live!

Rewards for contribution

Want to help the community and get great rewards at the same time? Contribute to Qovery documentation! Qovery Community plan is charged by contributions to the community - you can get free credits to host your applications by contributing in many ways - including by writing or fixing the docs!

Learn more about our reward system:

documentation's People

Contributors

acarranoqovery avatar aggis15 avatar alecarrano avatar anouckc avatar benjaminch avatar benoitguyot avatar deimosfr avatar dependabot[bot] avatar erebe avatar evoxmusic avatar flemzord avatar florianlepont avatar geshan avatar hrkt avatar hxn-dev avatar jul-dan avatar l0ck3 avatar maclikorne avatar mzottola avatar orkin avatar pjeziorowski avatar remibonnet avatar stun3r avatar xditya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.