website: add docs to website (#2080)

* website: add fontmatter & improve image URLs where necessary

* website: add docs to website

* website: add prismjs for code highlighting

* website: change npm install position in web.sh

* website: fix an image URL in lang/cs/README.md

* website: improve image paths in lang/cs/translations.md

* website: add responsiveness & improve stylings of docs

* website: add dir to navbar in blog & docs

* website: remove scroll in mobile dropdown menu

* website: remove rfcs & add guide docs to website

* website: remove file renaming script from web.sh

* website: add menu to docs in nav

* website: add hash list & add scroll to headers

* website: customize docs frontmatter through JS

* website: remove supported_languages.json

* website: move merge_translations.js to JS folder

* website: add the following changes to docs
- add frontmatter to new doc merged from master
- add ignoreForWeb property to frontmatter of README.md docs

* website: remove package-lock.json from .gitignore

* website: add package-lock.json from .gitignore

* website: add no docs message to docs dropdown

* website: improve the sidebar of docs

* website: add revision date to docs

* website: add script to add version to docs frontmatter

* website: add layout to display message in docs if its version is old

* website: improve nav responsiveness

* website: remove frontmatter form main README & rfcs

* website: remove rfcs from website folder

* website: add ignore condition for rfcs in .eleventy

* website: remove frontmatter from lang README docs

* website: remove README from website's lang docs

* website: add guides menu in nav

* website: following changes
- add docs_dropdown.json
- extend reference menu in nav
- remove docs menu from nav

* website: fix in docs sidebar

* website: revert main docs README.md files

* website: revert main docs README.md files

* website: move scripts out of js that are for build

* website: remove displayAt form guide docs

* website: create a docs_sidebar.json & shift to that approach

* update navigation

* website: set navbar

* website: add icons to external links

* website: change the approach for docs sidebar creation

* website: update docs template

* website: add some strings to en.json and map them accordingly

* remove icon

---------

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
M Sarmad Qadeer
2023-05-01 02:31:23 +05:00
committed by GitHub
parent 315d830357
commit f97a1fcedf
54 changed files with 1321 additions and 94 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"items": [
{
"title": "docs-dropdown-1",
"url": "/docs/simplex.html"
},
{
"title": "docs-dropdown-2",
"url": "/docs/android.html"
},
{
"title": "docs-dropdown-3",
"url": "/docs/sql.html"
},
{
"title": "docs-dropdown-4",
"url": "/docs/server.html"
},
{
"title": "docs-dropdown-5",
"url": "/docs/xftp-server.html"
},
{
"title": "docs-dropdown-6",
"url": "/docs/webrtc.html"
},
{
"title": "docs-dropdown-7",
"url": "/docs/translations.html"
}
]
}
+38
View File
@@ -0,0 +1,38 @@
{
"items": [
{
"menu": "Guide",
"data": [
"README.md",
"send-messages.md",
"secret-groups.md",
"chat-profiles.md",
"managing-data.md",
"audio-video-calls.md",
"privacy-security.md",
"app-settings.md",
"making-connections.md"
]
},
{
"menu": "Reference",
"data": [
"SIMPLEX.md",
"ANDROID.md",
"CLI.md",
"SQL.md",
"CONTRIBUTING.md",
"SERVER.md",
"TRANSLATIONS.md",
"WEBRTC.md",
"XFTP-SERVER.md"
]
},
{
"menu": "Protocol",
"data": [
"simplex-chat.md"
]
}
]
}
+40
View File
@@ -0,0 +1,40 @@
{
"items": [
{
"title": "guide-dropdown-1",
"url": "/docs/guide/readme.html"
},
{
"title": "guide-dropdown-2",
"url": "/docs/guide/send-messages.html"
},
{
"title": "guide-dropdown-3",
"url": "/docs/guide/secret-groups.html"
},
{
"title": "guide-dropdown-4",
"url": "/docs/guide/chat-profiles.html"
},
{
"title": "guide-dropdown-5",
"url": "/docs/guide/managing-data.html"
},
{
"title": "guide-dropdown-6",
"url": "/docs/guide/audio-video-calls.html"
},
{
"title": "guide-dropdown-7",
"url": "/docs/guide/privacy-security.html"
},
{
"title": "guide-dropdown-8",
"url": "/docs/guide/app-settings.html"
},
{
"title": "guide-dropdown-9",
"url": "/docs/guide/making-connections.html"
}
]
}