Giter VIP home page Giter VIP logo

knowledge-repo's Introduction

Knowledge Repository

This is a git repository that stores documents called "Knowledge Posts" in a format compatible with the Knowledge Repo project.

If you are looking to contribute a post to this repository, please refer to the below quickstart guide or the upstream documentation.

Quickstart

1. Install the knowledge-repo tooling

pip install  --upgrade "knowledge-repo[all]"

2. Clone this repository to your local machine

git clone <git_url> <repo_path>

Note: If you regularly interact with this repository, you can avoid having to type --repo <repo_path> in all of the below commands by exporting a shell environment variable:

export KNOWLEDGE_REPO="<repo_path>"

3. Create a post template

For Jupyter notebooks:

knowledge_repo --repo <repo_path> create ipynb example_post.ipynb

For R Markdown:

knowledge_repo --repo <repo_path> create Rmd example_post.Rmd

4. Edit the notebook file example_post.ipynb or example_post.Rmd as you normally would.

5. Add your post to the repo with in-repository path of project/example

knowledge_repo --repo <repo_path> add <post_path> -p project/example

6. Preview the added post to ensure everything is rendering correctly

knowledge_repo --repo <repo_path> preview project/example

7. Submit post as a new git branch in this repository

knowledge_repo --repo <repo_path> submit project/example

8. Open a pull/merge request on your branch

Once ready, merge your branch into master, and your post will shortly thereafter appear in attached Knowledge Repo servers.

knowledge-repo's People

Contributors

nelisverhoef avatar

Watchers

James Cloos avatar  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.