Source for the d7y.io
Go to file
Gaius dd406f17ec
feat: add gc configuration for manager job (#151)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 17:53:10 +08:00
.github build(deps): Bump actions/checkout from 3 to 4 (#8) 2023-09-15 14:13:19 +08:00
.husky feat: initialize commit 2023-09-01 11:16:56 +08:00
blog docs: add security audit to blogs (#9) 2023-09-15 14:14:03 +08:00
docs feat: add gc configuration for manager job (#151) 2024-09-14 17:53:10 +08:00
i18n/zh feat: add gc configuration for manager job (#151) 2024-09-14 17:53:10 +08:00
scripts feat: initialize commit 2023-09-01 11:16:56 +08:00
sidebars docs: add videos (#148) 2024-09-10 15:32:27 +08:00
src feat: change user image (#130) 2024-07-26 18:43:29 +08:00
static feat: add go-import for perf-test (#142) 2024-08-29 19:57:39 +08:00
versioned_docs docs: Documentation containerd adds private registry (#128) 2024-07-17 20:01:37 +08:00
versioned_sidebars chore: archived v2.1.x (#97) 2024-04-24 15:23:39 +08:00
videos/sessions docs: add videos (#148) 2024-09-10 15:32:27 +08:00
.editorconfig feat: initialize commit 2023-09-01 11:16:56 +08:00
.gitignore feat: initialize commit 2023-09-01 11:16:56 +08:00
.markdownlint.yml feat: initialize commit 2023-09-01 11:16:56 +08:00
.prettierignore feat: initialize commit 2023-09-01 11:16:56 +08:00
.prettierrc feat: initialize commit 2023-09-01 11:16:56 +08:00
LICENSE feat: initialize commit 2023-09-01 11:16:56 +08:00
README.md feat: initialize commit 2023-09-01 11:16:56 +08:00
babel.config.js feat: initialize commit 2023-09-01 11:16:56 +08:00
docsearch.json feat: initialize commit 2023-09-01 11:16:56 +08:00
docusaurus.config.js chore: archived v2.1.x (#97) 2024-04-24 15:23:39 +08:00
package.json build(deps): Bump three from 0.167.1 to 0.168.0 (#145) 2024-09-04 00:23:28 +08:00
sidebars.js feat: Change sidebar default collapse (#123) 2024-06-21 18:43:13 +08:00
versions.json chore: archived v2.1.x (#97) 2024-04-24 15:23:39 +08:00

README.md

Dragonfly Website

This repository contains the source code for d7y.io.

It's built by Docusaurus 2, a modern static website generator.

Add or Update Docs

When you add or modify the docs, these five files(docs/, docs/resource/, and sidebars/docs.js) should be taken into consideration.

  1. Create a markdown file in the directory docs/. All markdown files need to follow the format, that the title at the beginning should be in the following format:

    ---
    title: Title Name
    ---
    
  2. If you need image resources in markdown, put the image in the docs/resource/ directory. you should put the image resources here and use a relative path like below:

    ![alt](./resources/example.png)
    
  3. sidebars/docs.js, this file contain the navigation information. Please read the official docs of docusaurus to learn how to write sidebar.js.

    module.exports = {
      docs: [
        {
          type: "category",
          label: "Markdown Features",
          link: {
            type: "doc",
            id: "guides/markdown-features/introduction",
          },
          items: [
            "guides/markdown-features/react",
            "guides/markdown-features/tabs",
            "guides/markdown-features/code-blocks",
            "guides/markdown-features/admonitions",
            "guides/markdown-features/headings",
            "guides/markdown-features/inline-toc",
            "guides/markdown-features/assets",
            "guides/markdown-features/plugins",
            "guides/markdown-features/math-equations",
            "guides/markdown-features/head-metadata",
          ],
        },
      ],
    }
    

Website Development

Installation

yarn install

Local Development

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.