podman-desktop/website
2024-06-06 17:47:06 +00:00
..
blog chore: add 1.10.1/2 fixes 2024-05-07 07:44:25 -04:00
docs docs: add documentation on configuration schema (#7479) 2024-06-06 17:47:06 +00:00
src fix: enable strict rule on website (#7447) 2024-06-05 09:56:20 +02:00
static Update website (#7126) 2024-05-07 07:39:09 -06: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: adds api reference to sidebar & detailed index (#7317) 2024-05-28 07:49:54 -04:00
package.json chore(deps-dev): bump tailwindcss from 3.4.3 to 3.4.4 2024-06-06 11:45:48 +02: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 fix: enable strict rule on website (#7447) 2024-06-05 09:56:20 +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