diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8812401 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +port.json \ No newline at end of file diff --git a/README.md b/README.md index 18c169c..6bc6c9e 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,22 @@ In the [apps](apps) folder there are a bunch of json files for software. Here is "generic_name":["Video Player", "YouTube Client", "Music Player", "Publication"], "issues":["Surveillance", "Non-Free Software", "Non-Free JavaScript", "DRM"]} ``` + +# TO DO +- [ ] Add interfaces and language parameters to search +- [x] Documentation parameter in json +- [ ] Make a script to make it easier to when creating software json files +**New software ideas** +- [ ] Gitea +- [ ] Emacs +- [ ] Blender +- [ ] Krita +- [ ] PixelFeed +- [ ] Bibliogram +- [ ] Nitter +- [ ] proxitok +- [ ] librarian +- [ ] fastlbry-terminal +- [ ] lyberry-qt +**Nice to have** +- [ ] Make a way on the website editor to submit json files diff --git a/apps/gimp.json b/apps/gimp.json index 95fe18a..7d1f3c7 100644 --- a/apps/gimp.json +++ b/apps/gimp.json @@ -6,6 +6,7 @@ "git":"https://gitlab.gnome.org/GNOME/gimp", "fsd":"https://directory.fsf.org/wiki/Gimp", "wikipedia":"https://en.wikipedia.org/wiki/GIMP", + "documentation":"https://www.gimp.org/docs/", "icon":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/The_GIMP_icon_-_gnome.svg/64px-The_GIMP_icon_-_gnome.svg.png"}, "licenses":["GPL3+"], "platforms":["GNU/Linux", diff --git a/modules/__pycache__/render.cpython-38.pyc b/modules/__pycache__/render.cpython-38.pyc index 1c1263c..46a568a 100644 Binary files a/modules/__pycache__/render.cpython-38.pyc and b/modules/__pycache__/render.cpython-38.pyc differ diff --git a/modules/render.py b/modules/render.py index 66c8914..31142c1 100644 --- a/modules/render.py +++ b/modules/render.py @@ -80,6 +80,14 @@ def html(page, json): """ + documentation = json.get("links",{}).get("documentation", "") + if documentation: + page = page + """ +