Giter VIP home page Giter VIP logo

website's Introduction

etcd.io

This repository houses all of the assets used to build the etcd docs and website available at https://etcd.io.

Run the site locally

Prerequisites

To build and serve the site, you'll need these tools:

Setup

This site uses the Docsy theme. Get Docsy as a submodule using the following command:

npm run get-submodules

Next, get local packages:

npm install 

Running

Once the setup has completed, you can locally serve the site:

npm run serve

Docker

You can also run the site locally using Docker:

make docker-serve

Publishing the site

The site is published automatically by Netlify. Any time changes are pushed to the main branch, the site is built and deployed.

Preview builds

Any time you submit a pull request to this repository, Netlify will publish a preview build of the changes in that pull request. You can find a link to the preview build in the checks section of the pull request, under netlify/etcd/deploy-preview.

Releasing a new version of the etcd documentation

Follow these steps to add documentation for a newly released version of etcd, vX.Y:

  • Recursively copy content/docs/next into content/docs/vX.Y, where vX.Y is the newly released version of etcd. For example:

    cp -r content/docs/next content/docs/v3.5
  • In the _index.md file at the root of the new directory, update the frontmatter to reflect the new version:

    ---
    title: etcd version X.Y
    weight: 1000
    cascade:
      version: vX.Y
    ---
    
  • Add the version to the params.versions.all array in the config.toml configuration file.

  • If the version is meant to be the latest version of etcd, change the params.versions.latest parameter to the desired new version.

  • Submit a pull request with the changes.

Troubleshooting

If you have an issue with updating the documentation, file an issue against this repo.

website's People

Contributors

lucperkins avatar chalin avatar nate-double-u avatar spzala avatar gyuho avatar kapunahelewong avatar jberkus avatar gtamas avatar sji15 avatar suizman avatar mikespreitzer avatar burningalchemist avatar yiyiyimu avatar prabhakhar avatar yoyinzyc avatar chris-schra avatar dabaooline avatar fixwater avatar nic-chen avatar ptabor avatar snowjunkie avatar tangcong avatar marcosflobo avatar rissson avatar mrueg avatar lilic avatar leulz avatar kcrouch avatar katarzyna-jurek avatar fabjan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.