Giter Site home page Giter Site logo

vikibeta / theme-next-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iissnan/theme-next-docs

0.0 2.0 0.0 14.43 MB

Documentations for NexT theme

Home Page: http://theme-next.iissnan.com/

HTML 80.09% TypeScript 1.78% CSS 12.15% JavaScript 5.97%

theme-next-docs's Introduction

这是 NexT 主题文档的源码,仅接受文档相关的问题。如果你有任何关于 NexT 主题的使用问题,请访问 NexT 主题仓库,谢谢。

This is the repository for documentations of NexT theme, it only accepts issues about documentations. If you have any questions about using NexT, please visit NexT repository, thanks.


Welcome to contribute. Appreciate for any type of contribution。

Development

Requirements

  1. Node.js. Download Node.js
  2. Gulp Cli. Run npm install --global gulp-cli
  3. Project Dependencies. Run npm install

Running Up

After all project dependencies have been resolved, run gulp in the project root directory to kick off a local server. This server (using BrowserSync) will listen on port 3000, visit http://localhost:3000 to see the documentations.

Project Structure

Directory/File Description
app Application main directory which contains documentations and site assets
├── assets Site assets
├── en English documentations
├── templates Documentation layouts
├── uploads Images used in documentations
gulp Gulp library
├── dev-server-middleware Middleware for BrowserSync
├── tasks Gulp tasks
lib Application library
├── tags Nunjunks tags used in documentations to ease writing
├── configs.js Parse config from app/config.yaml
├── renderer.js Nunjunks Renderer
├── utils.js Various utilities
webpack Webpack configuration for different environments
├── common.js Webpack configuration for all environments
├── dev.js Webpack configuration of development
├── pro.js Webpack configuration of production
.editorconfig EditorConfig configuration
.travis.yml Configuration for TravisCI
bower.json Front-end library dependency management
gulpfile.js Gulp tasks definition
package.json Package Information
tsconfig.json Typescript configuration file

Syntax Highlight Support of WebStorm for Nunjucks Template

To make WebStorm to recognize Nunjucks templates, follow the following steps:

  1. Install Twig Plugin from JetBrains Plugin Repository.

    Install Twig Plugin

  2. Add Nunjucks template extension to the Twig file type.

    Add File Type

    In this repo, .njk extension is used for Nunjucks Template, so add it to the Registered Pattern.

theme-next-docs's People

Contributors

iissnan avatar acris avatar seisman avatar doublemine avatar sanster avatar tsuyoshitsai avatar flashlab avatar huiwang avatar jazzi avatar jjandxa avatar panzhitian avatar

Watchers

James Cloos avatar KingxBeta 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.