Coder Social home page Coder Social logo

alpine-docs.a.o's Introduction

Alpine Documentation

This is the Antora playbook for the Alpine Documentation. NOTE: It has been moved over to [Alpine’s Git Servers](https://git.alpinelinux.org/cgit/docs/docs.a.o/). This repository is thus unmaintained.

Deploying

This repository is all you need to deploy the documentation. You should clone this, and then run antora generate [ARGS] playbook.yml, where "playbook.yml" is the appropriate playbook. Here are the available playbooks:

site.yml

Production playbook - use this if you’re deploying this externally.

site-workspace.yml

Author mode playbook - use this if you’re working on the documentation. This expects checkouts (or symlinks) to the components to be under workspace/. It will also generate a ./public.zip, which is how the snapshots are created.

Args of particular interest are:

--cache-dir

Puts the cache into a specified directory - since the default is under home, you may want to set this to, for example, build/cache.

--clean

Cleans up the target directory before building.

--pull

Force checking for upstream updates (components, ui, etc).

--to-dir

Determines where the results are put - defaults to build/site, you may want to use public.

--url

Sets the base url, which allows generating 404 and similar directories - do not add a trailing / - example: https://docs.alpinelinux.org.

Thus, a production deployment to https://docs.alpinelinux.org would look like so: antora --cache-dir build/cache --clean --url https://docs.alpinelinux.org site.yml, and the web server would be pointed at $PWD/build/site.

Contributing

There are few reasons to contribute to here - this is just the glue between actual content. You are likely interested in contributing to one of the Antora components, referenced here. In the scenario there is something specific to contribute anyway, please make sure your name is in the authors list. Do also note that by contributing a patch, assuming you have not done so yet, you are agreeing to license your patch (and all future ones) under the license of the repository. You will be explicitly asked to confirm that in whatever medium you submit that patch (or you may confirm this in your patch commit message).

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.