Git Product home page Git Product logo

Comments (1)

henricasanova avatar henricasanova commented on July 19, 2024

Yep, that’s a typo! Should be [i-1] of course. Can’t believe that didn’t get noticed before. committed.

Henri

On Oct 6, 2015, at 10:30 AM, Cam Moore [email protected] wrote:

I was creating my second module in a new Morea repository. The first module had a sort order of 1. When I created the second module I gave it a sort order of 100. morea-lintui had the following output:

Acquiring MOREA content...
Acquired content from 22 MOREA .md files

Validating MOREA content...
Type-checking...
Checking for duplicate ids...
Checking for dangling/invalid references...
Error: Files ./master/src/morea/010.introduction/module-introduction.md and ./master/src/morea/020.java-environment/module-java-environment.md have identical morea_sort_order values (100)

MOREA .md files seem to have issues. Fix the above error(s) and re-run this script (which is not as lenient as jekyll,
for good reasons).

It didn't matter what value I used for the two sort orders. It kept giving me similar errors.
It looks like the issue is in MoreaContent.py : check_for_sort_order_collisions line 195. Why are we looking at i - 2 instead of i - 1?


Reply to this email directly or view it on GitHub #5.

from morea-lintui.

Related Issues (5)

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.