Skip to content

Commit 8e0a31f

Browse files
committed
♻️ Change analogue.app to analogue.com
1 parent dee7360 commit 8e0a31f

File tree

9 files changed

+37
-37
lines changed

9 files changed

+37
-37
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Analogue API Documentation [![CodeFactor](https://www.codefactor.io/repository/github/analogue-app/docs/badge)](https://www.codefactor.io/repository/github/analogue-app/docs)
1+
# Analogue API Documentation [![CodeFactor](https://www.codefactor.io/repository/github/analogueapp/docs/badge)](https://www.codefactor.io/repository/github/analogueapp/docs)
22

3-
This is the public documentation for [**Analogue**](https://analogue.app), built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
3+
This is the public documentation for [**Analogue**](https://analogue.com), built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
44

55
You can view this documentation at https://analogue.onrender.com/docs/api.
66

docs/api.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ id: api
33
title: Analogue API
44
---
55

6-
Welcome to the Analogue API. You can use this public API to access and modify your data on [Analogue](https://analogue.app).
6+
Welcome to the Analogue API. You can use this public API to access and modify your data on [Analogue](https://analogue.com).
77

88
### Examples
99

1010
We've build our apps on top of this same API:
1111

12-
- [Analogue Alfred Workflow](https://www.analogue.app/alfred)
13-
- [Analogue Browser Extension](https://www.analogue.app/extension)
12+
- [Analogue Alfred Workflow](https://analogue.com/alfred)
13+
- [Analogue Browser Extension](https://analogue.com/extension)
1414

1515
### API Root URL
1616

1717
```bash
18-
https://analogue.app/api/
18+
https://analogue.com/api/
1919
```
2020

2121
The Analogue API is organized following [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) standards. All requests return properly-formatted [JSON](https://www.json.org/).
2222

2323
### Contact
2424

25-
If you have any issues or questions, or want to submit an example of something you've built with our API, email us at info@analogue.app.
25+
If you have any issues or questions, or want to submit an example of something you've built with our API, email us at info@analogue.com.

docs/auth/token.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import TabItem from '@theme/TabItem';
4242
import axios from 'axios'
4343

4444
axios.post(
45-
'https://analogue.app/api/users/login', // Endpoint
45+
'https://analogue.com/api/users/login', // Endpoint
4646
{
4747
user: {
4848
email: `${your_email}`,
@@ -63,7 +63,7 @@ curl \
6363
-H 'Content-Type: application/json' \
6464
-X POST \
6565
-d '{"user": { "email" "<your_email>", "password": "<your_password>" }}' \
66-
https://analogue.app/api/users/login
66+
https://analogue.com/api/users/login
6767
```
6868

6969
</TabItem>
@@ -75,7 +75,7 @@ curl \
7575
{
7676
"user": {
7777
"id": 1,
78-
"email": "user@analogue.app",
78+
"email": "user@analogue.com",
7979
"username": "analogue",
8080
"name": "Analogue App",
8181
"bio": "Share what inspires you.",
@@ -102,7 +102,7 @@ For authorized endpoints, Analogue expects for the JWT `token` received from `Lo
102102
```js
103103
import axios from 'axios'
104104

105-
axios.post('https://analogue.app/api/<some_authed_endpoint>', payload, {
105+
axios.post('https://analogue.com/api/<some_authed_endpoint>', payload, {
106106
headers: { authorization: `Token ${authToken}` }
107107
})
108108
```
@@ -115,7 +115,7 @@ axios.post('https://analogue.app/api/<some_authed_endpoint>', payload, {
115115
curl \
116116
-H "authorization: Token <authToken>" \
117117
-X POST \
118-
https://analogue.app/api/<some_authed_endpoint>
118+
https://analogue.com/api/<some_authed_endpoint>
119119
```
120120

121121
</TabItem>

docs/collection/collections.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
3030
```js
3131
import axios from 'axios'
3232

33-
axios.get(`https://analogue.app/api/profile/${username}/collections`)
33+
axios.get(`https://analogue.com/api/profile/${username}/collections`)
3434
.then((response) => {
3535
// do something
3636
})
@@ -41,7 +41,7 @@ axios.get(`https://analogue.app/api/profile/${username}/collections`)
4141
<TabItem value="bash">
4242

4343
```bash
44-
curl https://analogue.app/api/profile/<username>/collections
44+
curl https://analogue.com/api/profile/<username>/collections
4545
```
4646

4747
</TabItem>

docs/collection/embed.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ To preview any embed, just add `/embed` to the end of any collection URL.
1010

1111
```python
1212
# Original collection URL
13-
https://www.analogue.app/collection/readings-4vyfd8
13+
https://analogue.com/collection/readings-4vyfd8
1414

1515
# Embed URL
16-
https://www.analogue.app/collection/readings-4vyfd8/embed
16+
https://analogue.com/collection/readings-4vyfd8/embed
1717
```
1818

1919
![Analogue collection embed example](https://analogue.onrender.com/img/embed.gif)
@@ -29,7 +29,7 @@ Parameter | Type | Value
2929

3030

3131
```python title="Embed URL with option parameters"
32-
https://www.analogue.app/collection/readings-4vyfd8/embed?theme=light&col=4
32+
https://analogue.com/collection/readings-4vyfd8/embed?theme=light&col=4
3333
```
3434

3535
### How to integrate into your site
@@ -55,7 +55,7 @@ import TabItem from '@theme/TabItem';
5555
<iframe
5656
frameBorder="0"
5757
allowFullScreen
58-
src="https://www.analogue.app/collection/readings-4vyfd8/embed?theme=light&col=4"
58+
src="https://analogue.com/collection/readings-4vyfd8/embed?theme=light&col=4"
5959
sandBox="allow-scripts allow-popups allow-top-navigation-by-user-activation allow-forms allow-same-origin"
6060
style={{ position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }}
6161
></iframe>
@@ -73,7 +73,7 @@ const PageComponent = () => (
7373
<iframe
7474
frameBorder="0"
7575
allowFullScreen
76-
src="https://www.analogue.app/collection/readings-4vyfd8/embed?theme=light&col=4"
76+
src="https://analogue.com/collection/readings-4vyfd8/embed?theme=light&col=4"
7777
sandBox="allow-scripts allow-popups allow-top-navigation-by-user-activation allow-forms allow-same-origin"
7878
style={{ position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }}
7979
></iframe>
@@ -93,7 +93,7 @@ export default PageComponent;
9393
<iframe
9494
frameborder="0"
9595
allowfullscreen
96-
src="https://www.analogue.app/collection/readings-4vyfd8/embed?theme=light&col=4"
96+
src="https://analogue.com/collection/readings-4vyfd8/embed?theme=light&col=4"
9797
sandbox="allow-scripts allow-popups allow-top-navigation-by-user-activation allow-forms allow-same-origin"
9898
style="position: absolute; left: 0; top: 0; width: 100%; height: 100%;"
9999
></iframe>
@@ -111,7 +111,7 @@ export default PageComponent;
111111
<iframe
112112
frameborder="0"
113113
allowfullscreen
114-
src="https://www.analogue.app/collection/readings-4vyfd8/embed?theme=light&col=4"
114+
src="https://analogue.com/collection/readings-4vyfd8/embed?theme=light&col=4"
115115
sandbox="allow-scripts allow-popups allow-top-navigation-by-user-activation allow-forms allow-same-origin"
116116
style="position: absolute; left: 0; top: 0; width: 100%; height: 100%;"
117117
></iframe>

docs/collection/logs.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import TabItem from '@theme/TabItem';
5858
```js
5959
import axios from 'axios'
6060

61-
axios.get(`https://analogue.app/api/logs?username=${username}&medium=${medium}&limit=8&offset=0&collection=true`)
61+
axios.get(`https://analogue.com/api/logs?username=${username}&medium=${medium}&limit=8&offset=0&collection=true`)
6262
.then((response) => {
6363
// do something
6464
})
@@ -69,7 +69,7 @@ axios.get(`https://analogue.app/api/logs?username=${username}&medium=${medium}&l
6969
<TabItem value="bash">
7070

7171
```bash
72-
curl https://analogue.app/api/logs?username=<username>&medium=<medium>&limit=8&offset=0&collection=true
72+
curl https://analogue.com/api/logs?username=<username>&medium=<medium>&limit=8&offset=0&collection=true
7373
```
7474

7575
</TabItem>
@@ -91,7 +91,7 @@ Retreiving all logs for a specific `Primer`:
9191
```js
9292
import axios from 'axios'
9393

94-
axios.get(`https://analogue.app/api/logs?username=${username}&primer_slug=${primer_slug}&limit=8&offset=0`)
94+
axios.get(`https://analogue.com/api/logs?username=${username}&primer_slug=${primer_slug}&limit=8&offset=0`)
9595
.then((response) => {
9696
// do something
9797
})
@@ -102,7 +102,7 @@ axios.get(`https://analogue.app/api/logs?username=${username}&primer_slug=${prim
102102
<TabItem value="bash">
103103

104104
```bash
105-
curl https://analogue.app/api/logs?username=<username>&primer_slug=<primer_slug>&limit=8&offset=0
105+
curl https://analogue.com/api/logs?username=<username>&primer_slug=<primer_slug>&limit=8&offset=0
106106
```
107107

108108
</TabItem>

docs/collection/primers.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import TabItem from '@theme/TabItem';
3838
```js
3939
import axios from 'axios'
4040

41-
axios.get(`https://www.analogue.app/api/primers?username=${username}&tag=${tag}&limit=8&offset=0`)
41+
axios.get(`https://analogue.com/api/primers?username=${username}&tag=${tag}&limit=8&offset=0`)
4242
.then((response) => {
4343
// do something
4444
})
@@ -49,7 +49,7 @@ axios.get(`https://www.analogue.app/api/primers?username=${username}&tag=${tag}&
4949
<TabItem value="bash">
5050

5151
```bash
52-
curl https://www.analogue.app/api/primers?username=<username>&tag=<tag>&limit=8&offset=0
52+
curl https://analogue.com/api/primers?username=<username>&tag=<tag>&limit=8&offset=0
5353
```
5454

5555
</TabItem>
@@ -140,7 +140,7 @@ Grab your token using the [Authorization endpoint](auth/token.md).
140140
```js
141141
import axios from 'axios'
142142

143-
axios.get('https://www.analogue.app/user/primers')
143+
axios.get('https://analogue.com/user/primers')
144144
.then((response) => {
145145
// do something
146146
})
@@ -151,7 +151,7 @@ axios.get('https://www.analogue.app/user/primers')
151151
<TabItem value="bash">
152152

153153
```bash
154-
curl -H "authorization: Token <authToken>" https://www.analogue.app/user/primers
154+
curl -H "authorization: Token <authToken>" https://analogue.com/user/primers
155155
```
156156

157157
</TabItem>

docs/log/parse.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
3434
```js
3535
import axios from 'axios'
3636

37-
axios.post(`https://analogue.app/api/contents/parse?url=${url_to_parse}`, {
37+
axios.post(`https://analogue.com/api/contents/parse?url=${url_to_parse}`, {
3838
method: 'POST',
3939
headers: {
4040
authorization: `Token ${authToken}`,
@@ -54,7 +54,7 @@ axios.post(`https://analogue.app/api/contents/parse?url=${url_to_parse}`, {
5454
curl \
5555
-H "authorization: Token <authToken>" \
5656
-X POST \
57-
https://analogue.app/api/contents/parse?url=<url_to_parse>
57+
https://analogue.com/api/contents/parse?url=<url_to_parse>
5858
```
5959

6060
</TabItem>

docusaurus.config.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module.exports = {
22
title: 'Analogue',
33
tagline: 'Documentation',
4-
url: 'https://analogue.app',
4+
url: 'https://analogue.com',
55
baseUrl: '/',
66
favicon: 'img/favicon.png',
7-
organizationName: 'analogue-app', // Usually your GitHub org/user name.
7+
organizationName: 'analogueapp', // Usually your GitHub org/user name.
88
projectName: 'analogue', // Usually your repo name.
99
themeConfig: {
1010
// TODO add algolia search
@@ -21,7 +21,7 @@ module.exports = {
2121
logo: {
2222
alt: 'Analogue',
2323
src: 'img/logo_icon.png',
24-
href: 'https://analogue.app/about'
24+
href: 'https://analogue.com/about'
2525
},
2626
links: [
2727
{
@@ -31,7 +31,7 @@ module.exports = {
3131
position: 'left',
3232
},
3333
{
34-
href: 'https://github.com/analogue-app',
34+
href: 'https://github.com/analogueapp',
3535
position: 'right',
3636
className: 'header-github-link',
3737
'aria-label': 'GitHub repository',
@@ -47,13 +47,13 @@ module.exports = {
4747
sidebarPath: require.resolve('./sidebars.js'),
4848
// Please change this to your repo.
4949
editUrl:
50-
'https://github.com/analogue-app/docs/edit/master/',
50+
'https://github.com/analogueapp/docs/edit/master/',
5151
},
5252
blog: {
5353
showReadingTime: true,
5454
// Please change this to your repo.
5555
editUrl:
56-
'https://github.com/analogue-app/docs/edit/master/',
56+
'https://github.com/analogueapp/docs/edit/master/',
5757
},
5858
theme: {
5959
customCss: require.resolve('./src/css/custom.css'),

0 commit comments

Comments
 (0)