Code Monkey home page Code Monkey logo

headlamp-website's Introduction

Headlamp Website

Headlamp is a Kubernetes debugging tool that provides a visual interface for debugging applications in a Kubernetes cluster. This repository contains the source code for Headlamp's website.

Headlamp's website is built using Docusaurus.

Development

Installation

$ npm install

Local Development

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

$ npm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Documentation

This website shows Headlamp's documentation. The documentation is written in Markdown and is located in the docs directory of the headlamp repository.

When this website is build, it runs the script link-docs.sh which creates symlinks to the documentation in the docs directory of the Headlamp repository.

Linking docs

This script allows to set the documentation location in different ways.

The following command will link the documentation from the docs directory of the Headlamp repository:

$ ./link-docs.sh <path-to-docs-folder-in-a-headlamp-repo-clone>

This command will do the same but receive the documentation location as an environment variable:

$ HEADLAMP_DOCS=<path-to-docs-folder-in-a-headlamp-repo-clone> ./link-docs.sh

When run without arguments, the script will attempt to clone the Headlamp repository and link the documentation from the docs directory of that clone.

$ ./link-docs.sh

Latest Docs Built

Latest docs build: 36337f8

The line below is updated automatically by a Github Action to point to the latest version of the documentation and trigger a new build of the website.

License

Headlamp is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

headlamp-website's People

Contributors

ahrkrak avatar blixtra avatar jakepage91 avatar joaquimrocha avatar sniok avatar vyncent-t avatar

Stargazers

 avatar

Watchers

 avatar

headlamp-website's Issues

Small issues

Some small issues that were found during kinvolk website development that we should fix here

  • Blog layout issue on mobile
  • Article images alt should be set to empty and role to presentation

Linter for documentation and blogs

I think it's a good idea to add Vale. It's a linter for normal text. We can use it to improve quality and consistency of our documentation and blogs by following this really good writing styleguide and enforcing it with vale.

I'm already looking into it, but putting it here for discussion and so I don't forget about it

some examples of what kind of things it can do:

image
image

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.