All Projects → adriantanasa → Github Wiki Sidebar

adriantanasa / Github Wiki Sidebar

Licence: mit
Github Wiki sidebar menu builder with multi-level, ordering and exclusion list support

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Github Wiki Sidebar

Gatsby Starter Saas Marketing
☁️ A simple one page marketing site starter for SaaS companies and indie hackers
Stars: ✭ 103 (-11.97%)
Mutual labels:  navigation
Navbot
Using RGB Image as Visual Input for Mapless Robot Navigation
Stars: ✭ 111 (-5.13%)
Mutual labels:  navigation
Mega Nav
A simple mega nav menu in pure CSS
Stars: ✭ 114 (-2.56%)
Mutual labels:  navigation
Turtlebot3 simulations
Simulations for TurtleBot3
Stars: ✭ 104 (-11.11%)
Mutual labels:  navigation
Jvfloatingdrawer
An easy to use floating drawer view controller.
Stars: ✭ 1,424 (+1117.09%)
Mutual labels:  navigation
Responsive Sidebar Navigation
An easy-to-integrate side, vertical navigation, ideal for dashboards and admin areas.
Stars: ✭ 111 (-5.13%)
Mutual labels:  navigation
Material Bottomnavigation
Bottom Navigation widget component inspired by the Google Material Design Guidelines at https://www.google.com/design/spec/components/bottom-navigation.html
Stars: ✭ 1,375 (+1075.21%)
Mutual labels:  navigation
Pushy
Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
Stars: ✭ 1,488 (+1171.79%)
Mutual labels:  navigation
Indoor Navigation Algorithms
This is a public repository of a Navigine company that develops different kinds of indoor positioning algorithms with the main focus on indoor navigation. Here we will step by step publish the source code of our algorithm starting with trilateration.
Stars: ✭ 108 (-7.69%)
Mutual labels:  navigation
Mvvm Architecture
The practice of MVVM + Jetpack architecture in Android.
Stars: ✭ 1,634 (+1296.58%)
Mutual labels:  navigation
Bubble Navigation
🎉 [Android Library] A light-weight library to easily make beautiful Navigation Bar with ton of 🎨 customization option.
Stars: ✭ 1,537 (+1213.68%)
Mutual labels:  navigation
Nativescript App Templates
Monorepo for NativeScript app templates
Stars: ✭ 108 (-7.69%)
Mutual labels:  navigation
Regretful Agent
PyTorch code for CVPR 2019 paper: The Regretful Agent: Heuristic-Aided Navigation through Progress Estimation
Stars: ✭ 113 (-3.42%)
Mutual labels:  navigation
Customnavigationbarsample
Navigation Bar Customization in Xamarin Forms
Stars: ✭ 104 (-11.11%)
Mutual labels:  navigation
Bootstrap Dropdown Hover
Bootstrap based responsive mulltilevel dropdown navigation menu with fascinating animations
Stars: ✭ 115 (-1.71%)
Mutual labels:  navigation
Fragnav
An Android library for managing multiple stacks of fragments
Stars: ✭ 1,379 (+1078.63%)
Mutual labels:  navigation
Wzrootnavigationcontroller
Stars: ✭ 111 (-5.13%)
Mutual labels:  navigation
Draggablemenu
A draggable menu that shows a thumbnail preview of an image grid
Stars: ✭ 117 (+0%)
Mutual labels:  navigation
Mapbox Directions Swift
Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
Stars: ✭ 115 (-1.71%)
Mutual labels:  navigation
Mesh navigation
ROS Mesh Navigation Bundle
Stars: ✭ 114 (-2.56%)
Mutual labels:  navigation

github-wiki-sidebar

NPM Version NPM Downloads

Github Wiki sidebar menu generator with support for multi-level items, ordering, exclude list and re-usable options between executions. Can be used also to generate a TOC for a markdown (.md files) based project.

Features:

  • generates markdown menu starting from the Github Wiki pages (_Sidebar.md)
  • step by step execution with user input (inquirer.js) for the job configuration
  • option to automatically push changes to the git wiki origin repository
  • option for the ordering of the menu items
  • selection of files to add to an exclusion list
  • option to define a template for the generated menu (add logo, text etc to the sidebar)
  • persist all the options between the job executions
  • option for multi-level menus based on the user-defined category separator

github wiki sidebar generated by github-wiki-sidebar

See examples of sidebar menu generated by this module at github-wiki-sidebar's Wiki and more in the Examples section (as AngularJS, ng-bootstrap, etc.)

Installation

npm install github-wiki-sidebar -g

Usage

github-wiki-sidebar --git-push

Starts the step by step enquire mode, reuses any previously saved configuration, generates the options.json and _Sidebar.md files and pushes the updates to git origin repository.

Modifiers:

--silent

Updates _Sidebar.md file based on the local option.json file

--git-push

Updates locally the wiki git repository then executes github-wiki-sidebar job and finally pushes updates menu and configuration file back to the remote repository (origin) .

--skip-options

Remove the options.json file after execution

--skip-sidebar

Dry-run - Not generating the _Sidebar.md file

End-to-End Scenario

Configure the job

  • clone locally your wiki repository
  • execute the job in default mode (optionally with git push --git-push)

Updating sidebar menu

  • if there is no need to update the options for the job - run in --silent mode (recommended for automation - integration with GitHub hooks
  • when updates are needed - execute the job with the default parameters (--enquire) mode - hit to leave the previously changed options unchanged.

Example for a public wiki:

git clone https://github.com/adriantanasa/github-wiki-sidebar.wiki.git
cd github-wiki-sidebar.wiki
github-wiki-sidebar --git-push
# updating the sidebar menu
github-wiki-sidebar --silent --git-push

Generate custom GitHub wiki sidebar with order and custom template - asciicast

Debug

export DEBUG=github-wiki-sidebar;github-wiki-sidebar

Options available in init/tutorial mode

Define the category separator for multi-level menu: (: )

Change the sequence to break titles into categories (default to ":-"). Users on Windows operating system have to choose a different separator for categories as the colon (:) is not accepted as a file separator.

Define the format of the page links: (./%s)

Allows the user to change the links to a different format (default is relative). A full URI could be used for ex: https://github.com/adriantanasa/github-wiki-sidebar/wiki/%s

Define the _Sidebar.md content template: (%s)

You can add markdown content before/after menu content - use this step to add for example a logo. The %s will be replaced with the content of the menu:

[![npm module\](https://rawgit.com/wiki/adriantanasa/gi
thub-wiki-sidebar/images/github-wiki-sidebar.svg)](https://www.npmjs.com/package/github-wiki-side
bar)\n\n%s

Select the items to be excluded from menu: (Press <space> to select, <a> to toggle all, <i> to invert selection) Provides a checkable list with all the .md files available. Use SPACE to add items to the exlusion list. Checking a top category - ex: Categ1.md - will exclude all the subpages from the menu - as Categ1: Subpage1.md, Categ1: Subpage2: Subsubpage1.md

Change the priority/order of the items in menu (ex: 3 4 0): n

The list of local *.md files are displayed with numeric indexes - here you can specify in a space separated list the priority for them in the menu. By default, the script is looking for the position of Home.md (if any) in your local folder and adding it with the highest priority.

Recipes

Add a logo to your menu

Execute the script in init mode and at the Select the _Sidebar.md content template: %s change the default template with one that will include the logo:

![my Company Logo Alt text](https://somepublicdomain.com/path/to/my/image.png)\n\n%s

You can also add your image directly to wiki repository and reference it directly in your template.

Contribution

Check Roadmap for planned items.

We are welcoming contributors - feel free to create issues and help improve the tool. Also if you have a public wiki generated with this module please add it to README.md Examples section.

Examples

GitHub wiki menus generated with this module:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].