Git Product home page Git Product logo

docs-poc's Introduction

Proof of Concept for the Hazelcast Docs Revamp

This repository hosts a modified Antora project that showcases a PoC of the new Hazelcast documentation.

As well as the default Antora UI, this repository includes:

Preview

Work in progress

This work is by no means finished. The current project includes a migrated copy of the Hazelcast IMDG reference manual, which is hosted in the docs-poc-v1 branch in a fork of the hazelcast-reference-manual repository.

The UI is styled with the latest Hazelcast HIVE design.

The roadmap includes the following items:

  • Migrate Hazelcast Cloud content
  • Migrate Jet content
  • Migrate Management Center content
  • Review and rewrite/restructure content, starting with IMDG

Prerequisites

Antora requires an active long term support (LTS) release of Node.js. To check if you have Node.js installed, do the following:

node --version

If you see an active Node.js LTS version on your device, you’re ready to build the docs.

If no version number is displayed in the output, you need to install Node.js.

Build the docs locally

To build this project on your local device:

  1. Clone the hazelcast-reference-manual repository, and check out the docs-poc-v1 branch

    git clone https://github.com/JakeSCahill/hazelcast-reference-manual
    cd hazelcast-reference-manual
    git checkout docs-poc-v1
  2. Clone this repository

    cd ..
    git clone https://github.com/JakeSCahill/docs-poc
    cd docs-poc
  3. Run the local build script

    npm i
    npm run-script build-local

You will see the following warnings:

asciidoctor: WARNING: migration_guides.adoc: line 1025: unterminated listing block
asciidoctor: WARNING: migration_guides.adoc: line 1043: unterminated listing block

These are yet to be fixed.

In the docs directory you will now have all the webpages for your documentation site.

Host the docs

To view the documentation site from a localhost web server, run the serve script

```bash
npm run-script serve
```

If you want to show the team your changes, you can expose your web server to the Internet, using ngrok by doing the following:

npm run-script expose

The public URL is displayed in the output:

ngrok URL

docs-poc's People

Contributors

jakescahill 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.