podman-desktop/website
Fabrice Flore-Thébault 68a0faa929 docs: added quotes to location value - fixes #3906
Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
2023-10-03 16:54:03 +02:00
..
blog fix(website): broken anchor (#4065) 2023-09-25 07:32:44 -04:00
docs docs: added quotes to location value - fixes #3906 2023-10-03 16:54:03 +02:00
src docs: added links to the documentation in the home page (#4094) 2023-09-26 16:07:08 +02:00
static fix: replaced missing media - fixes #4027 (#4029) 2023-09-25 08:28:52 +00:00
.eslintignore fix: website check targets 2023-06-27 11:19:06 +02:00
.gitignore fix: add cache to format and lint 2023-06-27 11:19:06 +02:00
.prettierignore fix: website check targets 2023-06-27 11:19:06 +02:00
babel.config.js feat: adds initial website built from docusaurus 2022-04-04 17:23:17 +02:00
docusaurus.config.js docs: refactored the onboarding section continued (#4105) 2023-09-27 12:19:00 +02:00
package.json chore(deps-dev): bump postcss from 8.4.30 to 8.4.31 2023-09-29 12:35:21 +02:00
README.md chore: added @docusaurus/plugin-client-redirects (#3731) 2023-08-31 16:51:44 +02:00
sidebars.js chore: enhanced sidebar and navigation (#1302) 2023-02-22 10:58:57 +01:00
tailwind.config.js fix: website is using the new palette colors but definition are not there 2023-05-09 10:42:46 +02:00
tsconfig.json feat: adds initial website built from docusaurus 2022-04-04 17:23:17 +02:00

Website

Install the project dependencies

$ yarn install

Local Development of the website / documentation

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

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Adding a Node.js module to the website

  1. Add the module in the website context:

    $ cd website
    $ yarn add <module>
    
  2. Update the yarn.lock file in the repository root context:

    $ cd ..
    $ git checkout HEAD -- yarn.lock
    $ yarn