Commit Graph

6 Commits (f877d1598962fd9452db243511adf9e5bc73f8e1)

Author SHA1 Message Date
Leandro Ostera 739dd80cf6 Splits up Makefile. Adds all rule and phony tasks
Now setup calls the deps rule that takes care of bundling
RubyGem dependencies loudly.
2015-05-06 11:31:58 -03:00
Ruben Vereecken 4b44492314 Added make lint-changed which lints changed files only. 2015-04-14 23:08:37 +02:00
Ruben Vereecken 075c96c3ce Setup now installs markdown-lint. Make lint lints. 2015-04-14 16:22:21 +02:00
Ruben Vereecken a98b6b9938 Added `make setup` and a pre-commit hook to rebuild index. 2015-04-09 13:20:43 +02:00
Leandro Ostera e24d9800a8 refactors index building script to output JSON
also removes index.md
2015-03-04 21:10:36 -03:00
Leandro Ostera 21cb9ac9e1 feature: pages index.
By having an index for the pages, it'd allow clients
to build autocomplete's and show an index of pages
making only one request (think `tldr list`). Subsequent
caching of this file would prevent further requests.

Included is a makefile to easily rebuild the index.
It could be tailored in case the pages structure changed.

In a particular case, the web client would benefit greatly
from an index. It'd know exactly what folder a command is in
and thus the number of requests would drop from 4 to 1.
2015-03-02 15:21:27 -03:00