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.
See ARCHITECTURE.md for complete technical documentation, including:
- System architecture & component graph
- Operating modes (
all,frontend,backend) - Full configuration reference (all TOML sections)
- Generation pipeline (step-by-step)
- Validation & report system — missing samples, broken links, TOC errors, etc.
- Web routes & middleware
- Admin panel
- Database schema
- Staging vs production differences
- Deployment (CI/CD)
- Custom markdown syntax (
{sample},{api},{pg}, etc.) - Complete source file reference
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
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 -WThen run the schema from src/sql/scheme.sql.
# 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.tomlAfter 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.
If you have any questions regarding licensing - please contact us. sales@anychart.com
