diff --git a/templates/core/about/badges.html b/templates/core/about/badges.html index f2f6d24f0..5cf5e5720 100644 --- a/templates/core/about/badges.html +++ b/templates/core/about/badges.html @@ -5,7 +5,8 @@ {%- block body -%}

Badges

-
+
+

You can use badges to show state of your documentation to your users. The default badge will be pointed at the latest version of a crate. @@ -18,7 +19,7 @@

Badges

documentation, and red if building documentation failing.

-

Example badges for mio crate:

+

Example badges for the mio crate:

@@ -50,4 +51,5 @@

Badges

+
{%- endblock body %} diff --git a/templates/core/about/builds.html b/templates/core/about/builds.html index 326c7bfcd..46c2fc5df 100644 --- a/templates/core/about/builds.html +++ b/templates/core/about/builds.html @@ -5,7 +5,8 @@ {%- block body -%} {%- set docsrs_repo = "https://github.com/rust-lang/docs.rs" -%}

Builds

-
+
+

Docs.rs automatically builds documentation for crates released on crates.io. @@ -111,6 +112,8 @@

Other failures

+
+
{%- endblock body %} {% block css -%} diff --git a/templates/core/about/index.html b/templates/core/about/index.html index bc8dfeab5..b3c7f4e2a 100644 --- a/templates/core/about/index.html +++ b/templates/core/about/index.html @@ -6,7 +6,8 @@ {%- set docsrs_repo = "https://github.com/rust-lang/docs.rs" -%}

About Docs.rs

-
+
+ +
{%- endblock body %} diff --git a/templates/core/about/metadata.html b/templates/core/about/metadata.html index e50f3a812..fe4fc8b3f 100644 --- a/templates/core/about/metadata.html +++ b/templates/core/about/metadata.html @@ -5,7 +5,8 @@ {%- block body -%}

Metadata for custom builds

-
+
+

You can customize docs.rs builds by defining [package.metadata.docs.rs] table in your crates' Cargo.toml. @@ -15,6 +16,7 @@

Metadata for custom builds

{%- include "core/Cargo.toml.example" -%}
+
{%- endblock body %} {% block css -%} diff --git a/templates/core/about/redirections.html b/templates/core/about/redirections.html index 94226adc7..cbff53403 100644 --- a/templates/core/about/redirections.html +++ b/templates/core/about/redirections.html @@ -4,8 +4,9 @@ {%- block body -%}

Shorthand URLs

-
+
+

Docs.rs uses semver to parse URLs. You can use this feature to access crates' documentation easily. Example of URL redirections for @@ -61,4 +62,6 @@

Shorthand URLs

+
+
{%- endblock body %}