monero-project / monero-site

https://getmonero.org
BSD 3-Clause "New" or "Revised" License
288 stars 391 forks source link

FAQ in alphabetical order #1969

Closed plowsof closed 2 years ago

plowsof commented 2 years ago

The FAQ in the get started tab is not in alphabetical order, so i made a script to do that.

This would also be useful my other 'add a simple faq' automated script that adds the new q/a in alphabetical order too.

netlify[bot] commented 2 years ago

Deploy Preview for barolo-time-757cf9 ready!

Built without sensitive environment variables

Name Link
Latest commit ef3511b34f3fc924833014e5cf2e35001e54aac0
Latest deploy log https://app.netlify.com/sites/barolo-time-757cf9/deploys/628badee10ccff0008df4eb7
Deploy Preview https://deploy-preview-1969--barolo-time-757cf9.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

plowsof commented 2 years ago

The python script i made will take any FAQ page and order it alphabetically (hands free) (i am not that cruel to expect such manual labour ^^).

I have also made a 'Add a FAQ' python script which will do alot of manual labour and order the new faq in alphabetical order.

edit: drawbacks have been automated with my script and i have a test for the faq page (same as #1973) edit "group the entries according to the content," if you didnt notice, they are still grouped according to content (advanced.. wallet.. general etc) but theyre just ordered within that category. faq-order

apertamono commented 2 years ago

How would this affect translations? The script edits en.yml, which means that the translations would be sorted in the order of the English questions? That doesn't make sense.

I'd prefer to organize the FAQ better by using smaller, more specific categories than 'General' and 'Advanced'. E.g. Security, Privacy, History, Economics. 'Node and Wallet' can also be split in two, even though they're related.