Permalink
Browse files

Massive redesign of whole website!

We're proudly using PrettyDocs

Fix syntax error

Invalid netlify.toml file: Near line 7 (last key parsed 'context.deploy-preview.environment.HUGO_BASEURL'): expected value but found '$' instead

hardcode preview URL for now
  • Loading branch information...
jloh committed Sep 10, 2017
1 parent a8c6585 commit 160ac4d3844accb9594ffdfb758525d77e121c94
Showing 862 changed files with 28,449 additions and 648 deletions.
@@ -1,7 +1,6 @@
baseurl = "https://geojs.io"
languageCode = "en-AU"
title = "GeoJS · REST/JSON/JSONP GeoIP API"
theme = "kube"
metadataformat = "yaml"
canonifyurls = true
# Enable Google Analytics by entering your tracking id
@@ -11,6 +10,9 @@ enableRobotsTXT = true
# Don't do alias assets since Netlify handles that for us
disableAliases = true
# Enable gitinfo
enableGitInfo = true
description = "GeoJS is a highly available REST/JSON/JSONP IP Geolocation lookup API"
# Code higlighting settings
@@ -27,6 +29,7 @@ author = "jloh"
github = "jloh"
twitter = "itsjloh"
email = "contact@geojs.io"
repo = "https://github.com/jloh/geojs-io"
[[menu.main]]
name = "Docs"
@@ -42,15 +45,15 @@ email = "contact@geojs.io"
## url = "/live/"
[outputs]
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
home = [ "HTML", "RSS", "REDIRECTS", "HEADERS" ]
[mediaTypes]
[mediaTypes."text/netlify"]
suffix = ""
delimiter = ""
[outputFormats]
[outputFormats.REDIR]
[outputFormats.REDIRECTS]
mediatype = "text/netlify"
baseName = "_redirects"
isPlainText = true
@@ -4,8 +4,16 @@ weight: 10
description: "REST/JSON/JSONP GeoIP API"
---
<p>Checkout the text below, its generated on the fly from GeoJS itself.</p>
<blockquote><p>Hello <span id="user_ip"></span>. The IP you're behind has a country code of <span id="user_countrycode"></span>.</p></blockquote>
<p>All that from this little snippet</p>
<p><div class="text-left">
{{% md %}}
```html
Hey <span id="user_ip"></span>. The IP you&rsquo;re behind has a country code of <span id="user_countrycode"></span>!
Hello <span id="user_ip"></span>. The IP you're behind has a country code of <span id="user_countrycode"></span>.
<script type="application/javascript">
function geoip(json){
@@ -17,3 +25,5 @@ Hey <span id="user_ip"></span>. The IP you&rsquo;re behind has a country code of
</script>
<script src="https://get.geojs.io/v1/ip/geo.js"></script>
```
{{% /md %}}
</div></p>
@@ -0,0 +1,6 @@
---
title: Documentation
short_title: Docs
---
Documentation for the usage of our API and integrations

This file was deleted.

Oops, something went wrong.
@@ -5,6 +5,7 @@ weight: 100
draft: false
bref: "Service wide information"
toc: false
card_colour: blue
---
## Domains
@@ -19,4 +20,4 @@ As it currently stands GeoJS has no rate limits and doesn't require any to be im
## Endpoints
Currently GeoJS only has our [IP endpoint](/docs/ip/) and our [ChatOps](/docs/chatops/) integration.
Currently GeoJS only has our [IP endpoint](/docs/v1/endpoints/) and our [ChatOps](/docs/v1/chatops/) integration.
@@ -0,0 +1,6 @@
---
title: Version 1
short_title: v1
---
Documentation specific to version 1 of GeoJS
Oops, something went wrong.

0 comments on commit 160ac4d

Please sign in to comment.