Giter Club home page Giter Club logo

Comments (4)

dlesnoff avatar dlesnoff commented on May 18, 2024 1

I could not reproduce the issue on my desktop, I have to investigate this a little on my laptop.
Thank you for the PR, I will merge this tomorrow. Ping me if I forget.

from nim.

ZoomRmc avatar ZoomRmc commented on May 18, 2024

The script assumes implementations conform to the regular Nim module format, with the description being Doc comments. I wanted to mention on your PR, but got distracted.

I propose we just add the requirement to the guidelines.

The script should fall back on the file name to get the title in case it can't be read from the first line. I'll check it a bit later.

from nim.

ZoomRmc avatar ZoomRmc commented on May 18, 2024

I've checked and can't reproduce. All files are detected, including the scripts directory, which I'm adding to a list of ignored sub dirs in a follow-up PR.

from nim.

ZoomRmc avatar ZoomRmc commented on May 18, 2024

Here's the output after changes made in #15:

⚠: "dynamic_programming\catalan_numbers.nim". First line is not a doc comment! Deriving title from a file name.
⚠: "dynamic_programming\viterbi.nim". First line is not a doc comment! Deriving title from a file name.
<!--- DO NOT EDIT: This file is automatically generated by `directory.nim` -->

# The Algorithms — Nim: Directory Hierarchy

## Dynamic Programming
  * [Catalan Numbers](dynamic_programming/catalan_numbers.nim)
  * [Viterbi](dynamic_programming/viterbi.nim)

## Strings
  * [Check Anagram](strings/check_anagram.nim)

First two lines are written to standard error stream.

from nim.

Related Issues (13)

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.