Restructure Cabal documentation top-level parts
commit8c954ec2ec1f5060301e8884204447873cec4c4e
authorMalte Neuss <malteneuss@users.noreply.github.com>
Sat, 28 Oct 2023 21:04:37 +0000 (28 23:04 +0200)
committerMikolaj <281893+Mikolaj@users.noreply.github.com>
Sun, 5 Nov 2023 20:59:50 +0000 (5 20:59 +0000)
tree178b63ca690c15bbc3d310c44a9b315a6cce1803
parent7691c45361f645a3339a336eaf8563ee8365c4c7
Restructure Cabal documentation top-level parts

The goal is for users to easier find pages for typical problems through search engines and page navigation.
- The top-level layout is based on the popular documentation structure by https://documentation.divio.com/ to give a
   clear structure to users and future documentation contributors:
  * Guides: Present a solution to a single, atomic, typical user problem.
  * Reference: Describe user API (CLI fields, syntax etc) with technical rigour and completeness.
  * Explanation: Discuss background information, scope, design decisions etc.
- Move existing documentation roughly into these categories with minimal editing as the basis for further editing.
- Rename guide titles to mention how-to for improving SEO.
- Rename some files to improve SEO since that name becomes part of the URL (often called slug).
  Important page keywords should appear in the slug as well to make pages rank higher in search engines.
17 files changed:
.gitignore
doc/_templates/layout.html
doc/bugs-and-stability.rst [deleted file]
doc/cabal-context.rst [moved from doc/intro.rst with 98% similarity]
doc/cabal-interface-stability.rst [moved from doc/misc.rst with 89% similarity]
doc/cabal-package-description-file.rst [moved from doc/cabal-package.rst with 99% similarity]
doc/cabal-project-description-file.rst [moved from doc/cabal-project.rst with 99% similarity]
doc/cabaldomain.py
doc/concepts-and-development.rst [deleted file]
doc/getting-started.rst
doc/how-to-build-like-nix.rst [moved from doc/nix-local-build-overview.rst with 97% similarity]
doc/how-to-package-haskell-code.rst [new file with mode: 0644]
doc/how-to-report-bugs.rst [new file with mode: 0644]
doc/index.rst
doc/nix-integration.rst [deleted file]
doc/nix-local-build.rst
doc/package-concepts.rst [moved from doc/developing-packages.rst with 56% similarity]