Coder Social home page Coder Social logo

mdproctor / prod-docs-gitbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manaswinidas/prod-docs-gitbook

0.0 0.0 0.0 6.17 MB

Test repository to test PROD docs build with subtrees and gitbook

HTML 37.79% Makefile 0.10% Shell 2.89% XSLT 0.16% CSS 56.22% JavaScript 2.85%

prod-docs-gitbook's Introduction

Prod-docs-test

This project requires git subtrees. Make sure you have it configured:

Type git subtree in your terminal to check whether it is already supported in your git. If yes, we are good to go else go to the git-subtree folder and run ./install.sh.

Run

In order to run the product-docs, you need to install ccutil and follow the instructions in proposal-d.

In order to run the community docs, you need to have Maven installed. If yes, goto doc-content/drools-docs, run mvn clean install and view the index.html in target/generated-docs/html_single.

In order to run the PROD docs in gitbook, go to the assemblies/assembly_dmn-models/dm/build/tmp/en-US/html-single folder and run gitbook serve. You can see the documentation at localhost:4000. It may ask you to run gitbook install. You also may need to install gitbook CLI, if you don't have it already. Just run npm install gitbook-cli -g and run the commands again.

In order to fetch from all subtrees in the root repository, run git subtree pull-all. In order to push all changes in subtrees to the original projects from the root repository, run git subtree push-all.

Steps to reproduce

If you go to the .gittrees file, you can see a "DMN" subtree. The DMN repository has been added as a subtree for test purposes. Following are the steps to add a subtree:

git remote add -f DMN [email protected]:manaswinidas/DMN.git

git subtree add --prefix=doc-content/drools-docs/src/main/asciidoc/DMN [email protected]:manaswinidas/DMN.git master

The latter adds a subtree to .gittrees and adds a folder in the given path.

References: https://ruleant.blogspot.com/2013/06/git-subtree-module-with-gittrees-config.html

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.