GithubHelp home page GithubHelp logo

fykaa / etcd.io-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etcd-io/website

0.0 0.0 0.0 11.57 MB

etcd.io

Home Page: https://etcd.io

License: Other

Makefile 3.82% HTML 61.79% SCSS 34.39%

etcd.io-website's Introduction

etcd.io

The etcd.io website, built using Hugo and hosted on Netlify.

Cloud build

Visit https://gitpod.io/#https://github.com/etcd-io/website to launch a Gitpod.io IDE that will allow you to build, preview and make changes to this repo.

Local build

To build and serve the site, you'll need the latest LTS release of Node. Like Netlify, we use nvm, the Node Version Manager, to install and manage Node versions:

$ nvm install --lts

Setup

  1. Clone this repo.
  2. From a terminal window, change to the cloned repo directory.
  3. Get NPM packages and git submodules, including the the Docsy theme:
    $ npm install

Build or serve the site

To locally serve the site at localhost:8888, run the following command:

$ npm run serve

NOTE: If you want to check links locally, you (temporarily) might have some extra setup to do. For details, see issue #459.

To build and check links, run these commands:

$ npm run build
$ npm run check-links

Contributing

We welcome issues and PRs! For details, see Contributing.

If you submit a PR, Netlify will automatically create a deploy preview so that you can view your changes. Once merged, Netlify automatically deploys to the production site etcd.io.

Releasing a new version of the etcd documentation

IMPORTANT: this section is out-of-date, see issue #406.

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.

etcd.io-website's People

Contributors

lucperkins avatar chalin avatar spzala avatar nate-double-u avatar serathius avatar jmhbnz avatar ahrtr avatar somoshree avatar jberkus avatar kapunahelewong avatar adamkorcz avatar gyuho avatar ptabor avatar balena avatar horizonzy avatar miancheng7 avatar ivanvc avatar nic-chen avatar dependabot[bot] avatar siansiansu avatar mitake avatar guerzon avatar hexfusion avatar xuanswe avatar wenjiaswe avatar gtamas avatar zenpk avatar chris-schra avatar yoyinzyc avatar guettli 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.