Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getnikola/plugins
base: a5d8b75b78ab
Choose a base ref
...
head repository: getnikola/plugins
compare: f17f98f2a1b0
Choose a head ref
  • 19 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 31, 2016

  1. navstoris changed to make hierarchical a meny

    The hierachical menu is based on the structure of the stories (permalink).
    bennyslbs committed Oct 31, 2016
    Copy the full SHA
    19cb965 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c34532d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2016

  1. Nikola v. 7.8.1: Default location for stories are pages

    Skips initial stories or pages from menu.
    bennyslbs committed Nov 1, 2016
    Copy the full SHA
    df8d5d2 View commit details
    Browse the repository at this point in the history
  2. navstories: Only add stories specified start of permalink

    permalink of the story shall match one of the entries in
    NAVSTORIES_PATHS for the given language to be included in the menu.
    bennyslbs committed Nov 1, 2016
    Copy the full SHA
    5667017 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2016

  1. Restructured and cleanup

    - Using smarter loops
    - Minor changes
    
    TODO:
    - p.permalink(lang) ->p.permalink()
    - Usage of TranslatableSetting
    bennyslbs committed Nov 2, 2016
    Copy the full SHA
    8a38615 View commit details
    Browse the repository at this point in the history
  2. 1
    Copy the full SHA
    bd62af2 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8361824 View commit details
    Browse the repository at this point in the history
  4. Fix permalink(lang) vs. permalink()

    Create menu structure navpath based on permalink without language
    prefix, and links in menu including language.
    bennyslbs committed Nov 2, 2016
    Copy the full SHA
    2a62874 View commit details
    Browse the repository at this point in the history
  5. Limited checks during reading config variables

    But read config variables in a try...except in case a varible is missing.
    bennyslbs committed Nov 2, 2016
    Copy the full SHA
    13bd9dd View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2016

  1. .lower() removed in TranslatableSetting calls

    The .lower() isn't needed.
    bennyslbs committed Nov 4, 2016
    Copy the full SHA
    38ec65a View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2016

  1. Restructured to seperate collecting tree structure and generaing menu

    It also handles if a top level page and a submenu, e.g.
     /nav.rst (top) and /nav/*.rst (sub)
    
    It is easier to change how the menu should be generated.
    bennyslbs committed Nov 5, 2016
    Copy the full SHA
    88ac1a8 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2016

  1. Copy the full SHA
    4e207b5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d94fd4a View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2016

  1. Fix with respect to TRANSLATIONS

    navsties skips the lang path specified in TRANSLATIONS for the internal
    processing (not for the links), but there was an error there.
    permalink_nolang starts with /pages/... no matter the value of
    TRANSLATIONS.
    
    Version incr t. 1.0.1
    bennyslbs committed Nov 9, 2016
    Copy the full SHA
    d3d74eb View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2016

  1. Copy the full SHA
    2bcc5b9 View commit details
    Browse the repository at this point in the history
  2. Fix comments: tuble->tuple

    bennyslbs committed Nov 16, 2016
    Copy the full SHA
    168a892 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2016

  1. .values[lang] -> (lang)

    Chris Warrick (Kwpolska) says:
    .values is internal use and will break if someone assumes the usual
    behaviour of using default value if language is untranslated to.
    bennyslbs committed Nov 19, 2016
    Copy the full SHA
    a0cae1c View commit details
    Browse the repository at this point in the history
  2. map_to_menu uses list of [toplevel title, NavNode]

    NavNode is a new class with parameters for a page (navpath, permalink
    and title.
    bennyslbs committed Nov 19, 2016
    Copy the full SHA
    e1b0f4c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #183 from bennyslbs/master

    Make a hierarchical menu in navstories
    Kwpolska committed Nov 19, 2016
    Copy the full SHA
    f17f98f View commit details
    Browse the repository at this point in the history