Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cto
g1
Commits
81d057ce
Commit
81d057ce
authored
May 13, 2019
by
S Anand
Browse files
ENH: move all docs into docs/
parent
e531e5b0
Pipeline
#85576
passed with stage
in 2 minutes and 37 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
81d057ce
...
...
@@ -11,6 +11,7 @@ To use it, include:
```
[
Read the documentation
](
https://learn.gramener.com/guide/g1/
)
for usage.
(
[
source
](
docs/
)
)
## Releases
...
...
docs/README.md
View file @
81d057ce
...
...
@@ -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>
docs/docs.js
0 → 100644
View file @
81d057ce
// 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
/
,
''
))
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment