podman-desktop/website
Florent Benoit 4a89ece59f chore: add missing copryright headers in files
related to https://github.com/containers/podman-desktop/issues/6372
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2024-03-15 11:53:23 +01:00
..
blog fix: add playsinline to avoid full screen 2024-03-15 09:07:08 +01:00
docs chore: fix website links (#6252) 2024-03-04 14:41:45 +04:00
src chore: add missing copryright headers in files 2024-03-15 11:53:23 +01:00
static docs: blog post about devies award (#6078) 2024-02-21 18:33:04 +00:00
.eslintignore fix: website check targets 2023-06-27 11:19:06 +02:00
.gitignore docs: using typedoc to generate api documentation (#5705) 2024-02-01 10:48:07 +01: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: romved installing podman with openshift local 2024-03-03 10:13:51 +01:00
package.json chore(deps-dev): bump typescript from 5.3.3 to 5.4.2 2024-03-12 18:58:16 +01:00
README.md chore: added @docusaurus/plugin-client-redirects (#3731) 2023-08-31 16:51:44 +02:00
sidebars-api.js chore: add missing copryright headers in files 2024-03-15 11:53:23 +01:00
sidebars.js chore: add missing copryright headers in files 2024-03-15 11:53:23 +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 chore: update to docusaurus v3.0.0 (#4764) 2023-11-22 15:09:06 +00: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