File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,24 @@ <h2 id="more-about-docsrs"> <a href="#more-about-docsrs">More about Docs.rs</a>
37
37
< h3 id ="version "> < a href ="#version "> Version</ a > </ h3 >
38
38
< p > Currently running Docs.rs version is: < strong > {{ docsrs_version() }}</ strong > </ p >
39
39
40
- < h3 id ="builds "> < a href ="#builds "> Version </ a > </ h3 >
40
+ < h3 id ="builds "> < a href ="#builds "> Builds </ a > </ h3 >
41
41
< p > Summaries of the documentation build processes < a href ="/releases "> are available at /releases/</ a > .</ p >
42
42
43
+ < h3 id ="javascript "> < a href ="#javascript "> JavaScript</ a > </ h3 >
44
+ < p >
45
+ JavaScript in support of documentation is allowed but not guaranteed to work on docs.rs. What that
46
+ means: If you write documentation that inlines some JavaScript (like
47
+ < a href ="https://katex.org/ "> KaTeX</ a > ), that's allowed, and
48
+ will probably work today but may break in the future.
49
+ </ p >
50
+
51
+ < p >
52
+ However, it's not allowed to put JavaScript or other content in docs
53
+ published on docs.rs for the purpose of tracking visitors. For instance, adding Google Analytics
54
+ scripts, tracking pixels, or site verification for services like Google Search Console. Crates
55
+ that do this will have the relevant versions removed and may be blocked from docs.rs.
56
+ </ p >
57
+
43
58
< h3 id ="contact "> < a href ="#contact "> Contact</ a > </ h3 >
44
59
{%- set governance_link = "https://www.rust-lang.org/governance/teams/dev-tools#docs-rs" -%}
45
60
< p >
You can’t perform that action at this time.
0 commit comments