Git Product home page Git Product logo

docs-site's Introduction

Couchbase Documentation Site

Antora playbook project for the Couchbase documentation site published at docs.couchbase.com.

Playbook

The playbook, antora-playbook.yml, provides Antora with the site URL, docs component repository and branch locations, site UI location, global AsciiDoc attributes, and Asciidoctor extensions.

Home Docs Component

The home directory contains the Home documentation component.

Custom Asciidoctor Extensions

The custom extensions in the lib directory process the manpage macro (Couchbase CLI and Backup components), Swagger UI macro, and multi-row table headers.

File watcher and LiveReload

This repository contains a script to watch .adoc/.yml files and trigger a new Antora build when it detects changes to those files. The script also starts a web server and can use LiveReload to reload the browser tab after the Antora build completes. To use the script, run the following.

  1. Install dependencies.

    npm install gulp-cli -g
    npm install
  2. Install the LiveReload chrome extension.

  3. Start the script. The web server’s host URL is printed to the console after the watch task completes.

    gulp
  4. The console output will print status information every time a change is detected.

    [16:24:28] Starting 'build'...
    [16:24:32] Finished 'build' after 3.6 s
    [16:24:32] Starting 'preview'...
    [16:24:32] Finished 'preview' after 1.17 ms
  5. Make changes to your AsciiDoc files locally. The browser tab should automatically reload after a short while.

Contributing

To learn how to use the playbook and generate the docs site locally, see our contributing guide.

docs-site's People

Contributors

mojavelinux avatar graphitefriction avatar jamesnocentini avatar amarantha-k avatar richardsmedley avatar eric-schneider avatar rhedgpeth avatar spjmurray 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.