RSSHub/website
Manish Bhattarai 176341e95b
docs: change html example to use items variable instead of item (#14205)
* change html example to use items variable instead of item

The existing example for HTML retrieval uses 'item' variable on item retrieval, but the final rss output uses the 'items' variable. This results in undefined variable for anyone who directly uses the example code.

* docs: fix cn docs too

---------
2024-01-08 12:16:11 +08:00
..
docs docs: change html example to use items variable instead of item (#14205) 2024-01-08 12:16:11 +08:00
i18n docs: change html example to use items variable instead of item (#14205) 2024-01-08 12:16:11 +08:00
src docs: Update InstanceList.tsx - add an instance (#14143) 2023-12-30 14:25:04 +08:00
static docs: try language redirection 2023-08-20 21:08:43 +01:00
.editorconfig
.gitignore
README.md docs: format docs using markdownlint-cli2 2023-11-30 18:07:46 +00:00
babel.config.cjs docs: ts config (#13690) 2023-11-03 23:17:17 +08:00
docusaurus.config.ts docs: update sponsors and backers 2023-12-02 03:51:54 +08:00
package.json chore(deps): bump the docusaurus group in /website with 7 updates (#14192) 2024-01-06 11:01:05 +08:00
pnpm-lock.yaml chore(deps): bump the docusaurus group in /website with 7 updates (#14192) 2024-01-06 11:01:05 +08:00
sidebars.mjs docs: add public instances 2023-11-29 00:03:56 +08:00
tsconfig.json docs: ts config (#13690) 2023-11-03 23:17:17 +08:00

README.md

Website

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

Installation

$ pnpm

Local Development

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

$ pnpm 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 pnpm deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> pnpm 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.