Giter Club home page Giter Club logo

developers.yubico.com's Introduction

developers.yubico.com

The developers.yubico.com site is generated from the content located in the content subdirectory. Directories form the site hierarchy and AsciiDoc files form the content.

The hierarchy consists of multiple levels of directories in the "content" root. Filenames are case-sensitive and should be both readable and URL safe (underscores will be converted into spaces when displayed in the menu structure).

Different modules can be added to extend functionality, such as generating a releases page from a template and a file listing, or creating a whole subsection from a GitHub projects README and documentation pages.

Environment variables

OFFLINE

Skip all network updates.

NOPROJECTS

Do not build software projects (useful to get a shorter test cycle).

NORELEASES

Do not build release pages (avoids pulling the huge binaries repo)

Building

The website is built using Docker. The following command will compile a static website in htdocs/dist/ directory.

$ make build

Running locally

Once built, the following command will serve htdocs/dist/ directory on http://localhost:8080

$ make httpd

Web dependencies

We use bower to manage js/css dependencies for the site. Bower is only needed when changing/updating the dependencies as the dependency artifacts are checked in to the repository.

To make modifications, modify the bower.json file and run "bower install", then add all files from static/vendor to the repository.

Context

A context object provides information about the current state. It provides: * Base source directory * Base target directory * Relative current source directory * Relative current target directory

Modules

Modules can be used to modify content in Subsections, like converting AsciiDoc files to HTML, or pulling content from an external source such as GitHub. Each module gets invoked with a source Subsection directory, as well as the output directory. A module is used to decorate partials with surrounding content.

Which modules to use is defined by the configuration in settings.json Module configuration is done on a per-directory level in a .conf.json file in each directory.

For information on the individual modules, see comments in the source code in the devyco/modules/ directory.

developers.yubico.com's People

Contributors

a-dma avatar aveenismail avatar conradcio avatar dagheyman avatar dainnilsson avatar dmennis avatar dquist avatar edent avatar elukewalker avatar emlun avatar feliperrm avatar ffincannon avatar iamjake avatar jalseth avatar jas4711 avatar jeanpaulgalea avatar khongton avatar klali avatar kongeo avatar martelletto avatar minisu avatar miono avatar mobilequickie avatar mrmekon avatar perwising avatar sarahpythonista avatar scumjr avatar thorduri avatar tomatyubico avatar yubi-david avatar

Watchers

 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.