Panel will allow an empty doc name, leading to saving "_design"
Docs: Fix doc building under CI

Under CI the CouchDB version configured can break the LaTeX PDF
building.

This patch munges the release name for doc builds.

Python styles from Eli Stevens and Alexander Shorin.

Closes COUCHDB-2007
Merge branch '2007-fix-docs-under-ci'

* 2007-fix-docs-under-ci:
  Docs: Fix doc building under CI
Docs: Correct a `_revs_info` typo implying a factual error
Added note about changing root in settings.json for release build
URL ENCODE ALL THE THINGS.
Mixin added to test for bad characters that get through couch validation & encode when found.
Do not encode already encoded entries.

mixin added for scrubbing special characters out of names used as CSS selectors

SafeIDs used wherever there is a URL in views redirects & models.

Better parsing of _design doc names (use regex)

Allow the use of couchdb special characters / _ , $ etc in names for DBs, Views, Search Indexes etc, without breaking everything.
decode ddoc from route.
Fix issue with adding ddoc to collection on save, but not on preview
regex fix
fixed the regex for sniffing for design docs
More encoding for Ddocs
Fix API urls
Fix data size
Css fix for editor buttons
sometimes data_size isn't always there. ok.
Docs: minor typo on INSTALL document
Search for invalid database name or doc id throws error
Autocomplete fix for searching docs
Add messaging while waiting for DB to delete.
Remove buttons from the bottom of the editor
Encode the create a new doc link
Document `data_size` in `/db`

The value is returned, but was missing in the documentation.

Signed-off-by: Alexander Shorin <kxepal@apache.org>