Code Monkey home page Code Monkey logo

knapsackpro.com.docs's Introduction

docs.knapsackpro.com

Documentation for KnapsackPro.com

https://docs.knapsackpro.com

How can I report a bug or improvement

If you found a bug in our API or you have just an idea of how to improve it then please create an issue here:

https://github.com/KnapsackPro/docs.knapsackpro.com/issues

How to publish a new guest blog post

What can I write about?

We welcome any blog post in the following categories:

  • Category: Blog
    • anything about testing software or CI tips for Ruby, JavaScript, Python, PHP or any other programming language
    • any technical article about popular web or mobile frameworks
    • anything else in your mind? Get in touch and let's talk about your idea.
  • Category: TechTips
    • this can be a super short blog post like a few sentences and a block of code that solves some problem or error you found and might be helpful for others. tips on how to do something useful on the CI server
  • Category: continuous_integration
    • articles about integration with various CI servers and Knapsack Pro

How to publish a guest blog post?

  • Fork this repository and create a new branch for your blog post.

  • You can copy an example blog post file and read its content to find out how to create a new guest post on our blog. See _posts/2099-01-31-example-article.md

  • You can create a thumbnail image for a blog post with the Memopad app which is free on iOS. Then you need to compress the image with TinyJPG](https://tinyjpg.com). Please ensure img tags in the blog post have the alt attribute.

  • Please create a new blog post as a pull request to this repository. You can modify an existing pull request to let repository maintainers make commits to your branch. Thanks to that we can make tweaks to your article and help with the publication. :)

  • Your blog post will be under MIT license.

Development

Intro

  • Blog: We use Jekyll for blog posts.
  • API docs: We use raml2html npm package to compile RAML files into HTML files for API docs.
  • Docs: We use Docusaurus for new documentation.

Install dependencies

Install node packages like raml2html which is needed to compile API docs.

npm install

Install Ruby gems (needed for Jekyll).

bundle config build.eventmachine --with-cppflags=-I$(brew --prefix [email protected])/include
bundle install

We are moving incrementally from Jekyll to Docusaurus. Please install Docusaurus dependencies.

cd docusaurus
npm install

How to build everything (Jekyll, Docusaurus, API docs)

bundle exec jekyll serve --watch --future

It shows a blog post with a future publish date. Now you can preview the blog at http://localhost:4000/.

How to build Docusaurus only

cd docusaurus
npm start

How to build API docs only

Raml files for API docs are in the _api directory. You can edit them.

We use raml2html to compile them. If you need to compile API docs manually, you can run the rake task:

bundle exec rake api:generate_docs

Compiled files are in the api directory.

Deployment

Push to main to have a GitHub Action:

knapsackpro.com.docs's People

Contributors

arturt avatar 3v0k4 avatar shadre avatar mattvague avatar dependabot[bot] avatar jesalg avatar tnir avatar ivanfon avatar jeroenj avatar tsmmark avatar kenzan100 avatar zmarkan avatar

Watchers

Sammy filly  avatar

Forkers

renovate-bot

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.