Skip to content

Commit d856c87

Browse files
committed
Flyout: remove "Downlads" link from "Read the Docs" section
Based on #320 (comment)
1 parent 76d87f0 commit d856c87

File tree

5 files changed

+3
-25
lines changed

5 files changed

+3
-25
lines changed

dist/readthedocs-addons.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/readthedocs-addons.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/flyout.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,6 @@ export class FlyoutElement extends LitElement {
187187
>Builds</a
188188
>
189189
</dd>
190-
<dd>
191-
<a
192-
href="${addUtmParameters(
193-
this.config.projects.current.urls.downloads,
194-
"flyout",
195-
)}"
196-
>Downloads</a
197-
>
198-
</dd>
199190
</dl>
200191
`;
201192
}

tests/__snapshots__/flyout.test.snap.js

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/flyout.test.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,6 @@
200200
<dd>
201201
<a href="https://readthedocs.org/projects/project/builds/?utm_source=project&amp;utm_content=flyout">Builds</a>
202202
</dd>
203-
<dd>
204-
<a href="https://readthedocs.org/projects/project/downloads/?utm_source=project&amp;utm_content=flyout">Downloads</a>
205-
</dd>
206203
</dl>
207204
`);
208205
});

0 commit comments

Comments
 (0)