(#5637) - Fix docs markdown * (#5495) - fix inline appearance of some headers [skip ci] * (#5412) - markdownify headings (without newlines) [skip ci] * (#5637) - remove call to include end alert [skip ci]
diff --git a/docs/_includes/anchor.html b/docs/_includes/anchor.html index 341b970..99c77c5 100644 --- a/docs/_includes/anchor.html +++ b/docs/_includes/anchor.html
@@ -3,4 +3,4 @@ {% else %} {% assign class = 'h2' %} {% endif %} -<div class='{{ class }}'><div class='anchor-id' id='{{ include.hash }}'></div><a class='anchor' href='#{{ include.hash }}' name='{{ include.hash }}'>{{ include.title }}</a>{% if include.edit %}<a data-toggle="tooltip" data-placement="top" title="Edit this on Github" class="icon-edit" href="{{ site.github.repository_url }}/edit/master/docs/_includes/api/{{ include.hash }}.html" target="_blank"></a>{% endif %}</div> +<div class='{{ class }}'><div class='anchor-id' id='{{ include.hash }}'></div><a class='anchor' href='#{{ include.hash }}' name='{{ include.hash }}'>{{ include.title | markdownify | remove:'<p>' | remove: '</p>' | strip_newlines }}</a>{% if include.edit %}<a data-toggle="tooltip" data-placement="top" title="Edit this on Github" class="icon-edit" href="{{ site.github.repository_url }}/edit/master/docs/_includes/api/{{ include.hash }}.html" target="_blank"></a>{% endif %}</div>
diff --git a/docs/adapters.md b/docs/adapters.md index c0adb1d..0c2da2c 100644 --- a/docs/adapters.md +++ b/docs/adapters.md
@@ -146,8 +146,6 @@ require native or preloaded access to the database files, or there's some other reason to go native. The built-in IndexedDB and WebSQL adapters are nearly always more performant and stable. -{% include alert/end.html%} - ### Browser adapter plugins PouchDB also offers separate browser plugins that use backends other than IndexedDB and WebSQL. These plugins fully pass the PouchDB test suite and are rigorously tested in our CI process.
diff --git a/docs/static/less/pouchdb/type.less b/docs/static/less/pouchdb/type.less index 93ccbc5..decd062 100644 --- a/docs/static/less/pouchdb/type.less +++ b/docs/static/less/pouchdb/type.less
@@ -14,3 +14,9 @@ p, ul, ol, pre { margin-bottom: @spacing-base; } + +div[role=main] { + h1, h2, h3, h4, h5, h6 { + display: block; + } +}