Giter Site home page Giter Site logo

agopalas / kepler-doc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sustainable-computing-io/kepler-doc

0.0 0.0 0.0 12 MB

Kepler uses eBPF to probe energy related system stats and exports as Prometheus metrics

Home Page: https://sustainable-computing.io/

License: Apache License 2.0

HTML 100.00%

kepler-doc's Introduction

Documentation for Kepler-Doc

Follow https://sustainable-computing.io/ to see documentation

Install MkDocs

Requirements:

  • Python 3.8
pip install -r requirements.txt

Rendering adopters

  • uses gomplate 3.11.4, either install it or use tea.xyz:
sh <(curl https://tea.xyz) +gomplate.ca^v3.11.4 sh
  • template adopters via:
gomplate -d adopters=./data/adopters.yaml -f templates/adopters.md -o docs/project/adopters.md

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

Layout

The website layout can be found in ./mkdocs.yml.

Running in GitHub Codespaces

GitHub codespaces is a pre-configured, virtual, temporary and throwaway environment that you can use to build, modify and contribute to the Kepler docs. GitHub codespaces provides a generous free tier but always delete your environment after use to avoid bill shock.

  1. Fork this repo
  2. In your fork, click the green Code button
  3. Switch across to the Codespaces tab
  4. Click "Create codespace on main"
  5. A new tab will open and your environment will be built
  6. Create virtualenv to install mkdocs
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
  1. Once built, type mkdocs serve
  2. A box will appear informing you that the site is available on port 8000. Click the link to view the site
  3. Make your changes as normal to the files within the docs/ folder. The preview site will live reload
  4. When you're satisfied with your updates, commit them to your fork: git add -A && git commit -sm "docs: a commit message here" && git push
  5. Create a PR and you're done

kepler-doc's People

Contributors

rootfs avatar husky-parul avatar sunya-ch avatar bgrasnick avatar samyuan1990 avatar marceloamaral avatar jichenjc avatar sthaha avatar agardnerit avatar aspanner avatar gpgn avatar vprashar2929 avatar vimalk78 avatar agopalas avatar yasuenag avatar yanbo0101 avatar aharivel avatar adrianhammond avatar abe-hpe avatar bradmccoydev avatar sympatheticmoose avatar jiere avatar kaiyiliu1234 avatar mcalman avatar tesla59 avatar cooktheryan avatar trent-s avatar pokom avatar ramachandranravi 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.