Giter VIP home page Giter VIP logo

wn-nabu-theme's Introduction

Nabu Theme for Winter CMS

Nabu logo

An elegant theme designed for documentation sites, using the powerful features of the Winter CMS Docs and Search plugins to provide a streamlined documentation browsing experience.

Requirements

  • Winter CMS v1.2 or above, with the following plugins installed:
    • Winter.Docs
    • Winter.Search
  • NodeJS v14.0 or above
  • NPM v6.0 or above

Features

  • Full integration of the Docs and Search plugin functionality to navigate and display multiple instances of documentation.
  • Supports both user and developer Markdown documentation, as well as API documentation generated from PHP projects.
  • Displays a light or dark theme depending on the operating system theme, but can be overridden by the user.
  • Built entirely with Tailwind, allowing full flexibility of the look and feel of the site.
  • AJAX driven navigation and client-side caching ensures documentation loads quick and can be navigated to even quicker.

Development

This theme has been built using Tailwind for the styling and Snowboard for the JavaScript functionality, taking advantage of the Mix asset compilation included in Winter CMS. To compile the theme, simply install the necessary libraries required for Mix:

php artisan mix:install

Then, you can compile the theme for production use:

php artisan mix:compile --production -p theme-nabu

You can also set up the theme to watch for changes, recompiling the theme each time a change is made to the stylesheets or templates:

php artisan mix:watch --production -p theme-nabu

By default, this theme is setup to not include the compiled assets in source control, as it is recommended that you include the compilation process above in a build or deployment script. However, if you wish to include the compiled assets in your source control, you may remove the following section from the .gitignore definition:

# Ignore compiled assets
assets/css/theme.css
assets/js/build/app.js

wn-nabu-theme's People

Contributors

bennothommo avatar luketowers 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.