Skip to content

Commit e5d5638

Browse files
authored
Flyout: remove "Downlads" link from "Read the Docs" section (#322)
Based on #320 (comment)
1 parent 1b98ce4 commit e5d5638

File tree

5 files changed

+3
-27
lines changed

5 files changed

+3
-27
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 & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,6 @@ export class FlyoutElement extends LitElement {
181181
>Builds</a
182182
>
183183
</dd>
184-
<dd>
185-
<a
186-
href="${addUtmParameters(
187-
this.config.projects.current.urls.downloads
188-
.replace("readthedocs.org", "app.readthedocs.org")
189-
.replace("readthedocs.com", "app.readthedocs.com"),
190-
"flyout",
191-
)}"
192-
>Downloads</a
193-
>
194-
</dd>
195184
</dl>
196185
`;
197186
}

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://app.readthedocs.org/projects/project/builds/?utm_source=project&amp;utm_content=flyout">Builds</a>
202202
</dd>
203-
<dd>
204-
<a href="https://app.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)