Move the FAQ to a separate file
This commit is contained in:
parent
510ca35c87
commit
e125630410
3 changed files with 23 additions and 8 deletions
13
FAQ.md
Normal file
13
FAQ.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# [Constnium](https://git.kennel.ml/Anri/Constnium)
|
||||||
|
|
||||||
|
Calculate your own constant based on your first name.
|
||||||
|
|
||||||
|
## What does it do?
|
||||||
|
Simply take each letter of your first name, associate a constant with it, and multiply the constants together.
|
||||||
|
|
||||||
|
## How do you know all these constants?
|
||||||
|
Me? So... [Wikipedia](https://en.wikipedia.org/wiki/List_of_mathematical_constants) gave me some answers...
|
||||||
|
|
||||||
|
## This is a real constant...?
|
||||||
|
To ensure that the constant in your first name is unique,
|
||||||
|
each letter is set to the power relative to the position of the letter in your first name.
|
16
README.md
16
README.md
|
@ -2,12 +2,14 @@
|
||||||
|
|
||||||
Calculate your own constant based on your first name.
|
Calculate your own constant based on your first name.
|
||||||
|
|
||||||
## What does it do?
|
## FAQ
|
||||||
Simply take each letter of your first name, associate a constant with it, and multiply the constants together.
|
There is a [FAQ here](./FAQ.md) if you want to know more about the project.
|
||||||
|
|
||||||
## How do you know all these constants?
|
## Public demo
|
||||||
Me? So... [Wikipedia](https://en.wikipedia.org/wiki/List_of_mathematical_constants) gave me some answers...
|
[Coming Soon™](#)
|
||||||
|
|
||||||
## This is a real constant...?
|
## Host it yourself
|
||||||
To ensure that the constant in your first name is unique,
|
Clone the repo and run `npm run main`.
|
||||||
each letter is set to the power relative to the position of the letter in your first name.
|
|
||||||
|
### Docker
|
||||||
|
[Coming Soon™](#)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
|
|
||||||
// URL of the repo
|
// URL of the repo
|
||||||
const repoURL = 'https://git.kennel.ml/api/v1/repos/Anri/Constnium/contents/README.md';
|
const repoURL = 'https://git.kennel.ml/api/v1/repos/Anri/Constnium/contents/FAQ.md';
|
||||||
|
|
||||||
// Store the data from the repo
|
// Store the data from the repo
|
||||||
let data = null;
|
let data = null;
|
||||||
|
|
Loading…
Reference in a new issue