This repository contains specifications and instructions of how to format feeds with price offerings for ingestion into Prisjakt. The documentation is published at https://schema.prisjakt.nu
Feel free to contribute if you find anything that can be improved, open a pull request against this repository with you changes.
The following content is auto generated from our internal systems in order to keep in sync with models and a fixed structure, hence it´s not advisable to make changes to these files. If you find something that needs to be corrected in these areas, please open an issue and describe the changes you would like to see.
- Field articles in
docs/fields/*
- Example files in
docs/examples/_*.mdx
static/examples/*
This documentation is based on Docusaurus head over to their documentation to see what features are supported.
Here is a first time setup guide.
-
Install git
-
Install nodejs
- Installation might require a restart of your terminal/apps to pick up the commands on path
-
Install yarn
$ npm install --global yarn
-
Clone the repository to your computer
git clone https://github.com/Prisjakt/feed-specification.git
-
In the folder you checked out, install the packages with yarn
$ yarn
-
Pick a good text editor like (e.g. Visual Studio Code or Sublime Text) and open the folder you just cloned in it
-
Run Local Server
$ yarn start
- Please note that the search does not support local dev server. To test it, make a production build and then serve the page.
-
Open the page http://localhost:3000 in your web browser
-
Create a branch to hold your changes
$ git checkout -b feature/fix-spelling-mistakes
-
Start editing the files in the
/docs
folder -
Watch the content in the browser update automatically
-
Repeat until you are satisfied
-
Commit your changes with a good description
$ git add . # add all files $ git commit -m "Descriptive message that follows conventional commits standard"
-
$ git push