Comments (4)
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.
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.
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.
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)
- Add a GitHub workflow that checks the code (Nim linter) HOT 1
- Scripts directory appears on the website HOT 6
- [BUG] Update `DIRECTORY.md` file (semi-)automatically HOT 7
- chore: move compiler defaults from `nim.cfg` to `config.nims` HOT 1
- Change the About Section HOT 1
- CI failure: linear search algorithm, string array and recursive algorithm. HOT 6
- linear_search failing tests: upstream bug with openArray to `array[string]`? HOT 1
- The gitter link in README.md is not working. HOT 4
- [BUG] Incorrect link to the `DIRECTORY.md` file HOT 2
- [BUG] Wrong label link
- Add to the algorithms website HOT 3
- Looking for maintainers!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim.