Skip to content

AnyChart/docs-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

661 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnyChart - Robust JavaScript/HTML5 Chart library for any project

AnyChart Docs Engine

AnyChart Documentation is a service with all the reference information that users might need while working with AnyChart products. The application consists of two parts: the web part and the generator. The Web part is just a site responsible for displaying the content, and the generator is a parser whose main task is to parse the corresponding repository. Each article there is written using Markdown format. Both application parts communicate via Redis queues. The application backend is written on Clojure and the frontend on Javascript with jQuery.

Build Status Production

Build Status Staging

Documentation

See ARCHITECTURE.md for complete technical documentation, including:

Quick Start

Install dependencies

sudo apt-get install phantomjs
sudo apt-get install redis-server
sudo apt-get install sphinxsearch
sudo mkdir -p /var/data/sphinx/
sudo npm install grunt-cli -g

Setup local database

The application uses PostgreSQL, so you need to create database and user:

CREATE USER docs_user WITH PASSWORD 'pass';
CREATE DATABASE docs_db;
GRANT ALL PRIVILEGES ON DATABASE docs_db TO docs_user;
psql -p5432 -d docs_db -U docs_user -W

Then run the schema from src/sql/scheme.sql.

Build & Run

# Build the JAR
lein uberjar

# Run in all-in-one mode
java -jar target/uberjar/wiki-2.0-standalone.jar all config.toml

# Run frontend only (serve existing docs)
java -jar target/uberjar/wiki-2.0-standalone.jar frontend config.toml

# Run backend only (generate docs)
java -jar target/uberjar/wiki-2.0-standalone.jar backend config.toml

Staging Reports

After a build completes, validation reports are available at:

  • HTML: http://<host>/<version>/report — visual report with error tables
  • JSON: http://<host>/<version>/report.json — machine-readable report data

Reports check for: missing samples, broken links (404s), non-HTTPS links, non-canonical versioned links, environment-specific URLs, image syntax errors, and TOC structure problems.

See ARCHITECTURE.md - Validation & Report System for details.

License

If you have any questions regarding licensing - please contact us. sales@anychart.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •