Giter Club home page Giter Club logo

dataworkbench-jekyll-theme's Introduction

Styling for the Data4Development developer documentation and the DataWorkbench.

a Contributor Covenant


Stylesheets and design configurations for tools, to create a consistent look and feel across texts, diagrams and interfaces.

  • The main portion is a Jekyll theme for Github pages to use in the docs/ sections of repositories.
  • It also provides styling for a few other tools and libraries used to maintain documentation.

The DataWorkbench styling is based on the Bootswatch Flatly colour scheme.

Use in Github Pages

This assumes the basic Github Pages setup has been done.

Make sure to include the Github Pages plugin in the Jekyll site's Gemfile:

gem 'github-pages', group: :jekyll_plugins

Add the repository as a remote theme to your Jekyll site's _config.yml:

remote_theme: data4development/dataworkbench-jekyll-theme

Development

Install the necessary libraries and serve the site on a machine:

bundle
bundle exec jekyll serve

Open your browser at http://localhost:4000.

It is also possible to monitor the local repository for changes:

bundle exec jekyll serve --livereload --port 4000 --livereload-port 40000

Publishing as a Gem

{:.info}

When using the theme with Github's remote_theme configuration, there is no need to publish the theme as a Ruby Gem. For completeness, or to use in an offline environment, instructions on how to publish a Gem are still included.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled.

To add a custom directory to your theme-gem, edit the regexp in dataworkbench-jekyll-theme.gemspec accordingly.

To build a new version of the gem, update the version in dataworkbench-jekyll-theme.gempec and use

gem build dataworkbench-jekyll-theme

With sufficient privileges, the new gem can be published on RubyGems with

gem push dataworkbench-jekyll-theme

After a bundle update this should be available in the documentation sites using the theme as a Gem rather than as a Github remote theme.

Contributing

Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The theme is available as open source under the terms of the MIT License.

dataworkbench-jekyll-theme's People

Contributors

rolfkleef avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dataworkbench-jekyll-theme's Issues

Review README instructions

Make sure the instructions work as described:

  • Get a meaningful test site when starting Jekyll.
  • Push the gem with the complete gem filename.

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.