Commit 81d057ce authored by S Anand's avatar S Anand

ENH: move all docs into docs/

parent e531e5b0
Pipeline #85576 passed with stage
in 2 minutes and 37 seconds
......@@ -11,6 +11,7 @@ To use it, include:
```
[Read the documentation](https://learn.gramener.com/guide/g1/) for usage.
([source](docs/))
## Releases
......
......@@ -219,3 +219,5 @@ or one of the individual libraries below:
[mapviewer.min.js](dist/mapviewer.min.js) is not part of [g1.min.js](dist/g1.min.js).
For debugging, use [dist/g1.js](dist/g1.js) -- an un-minified version.
<script src="docs.js"></script>
// This JS is included in all documentation .md files to make it work on the
// Gramex Guide at https://learn.gramener.com/guide/g1/
// Change all `*.md` links to `*`
$('a').each(function () {
var href = $(this).attr('href')
if (href.match(/\.md\b/))
$(this).attr('href', href.replace(/\.md\b/, ''))
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment