Skip to content

Commit 5e2d575

Browse files
authored
Merge branch 'main' into speaker-updates-again
2 parents b35ca1c + 8eab018 commit 5e2d575

File tree

7 files changed

+111
-163
lines changed

7 files changed

+111
-163
lines changed

docs/_data/portland-2025-config.yaml

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,6 @@ sponsors:
181181
brand: Mintlify
182182
text: Meet the modern standard for public-facing documentation. Beautiful out of the box, easy to maintain, and built to convert users.
183183
patron:
184-
# - name: gitbook
185-
# link: https://www.gitbook.com/?ref=writethedocs
186-
# brand: GitBook
187-
# text: "GitBook combines powerful docs with AI-powered search and insights to give technical teams a single source of truth for their knowledge.
188-
# Effortlessly create, surface and improve public and internal documentation that your users and teams will love. "
189184
- name: readme
190185
link: https://readme.com/?ref=writethedocs
191186
brand: ReadMe
@@ -196,76 +191,25 @@ sponsors:
196191
link: https://www.mongodb.com/?ref=writethedocs
197192
brand: MongoDB
198193
publisher:
199-
# - name: bloomberg-engineering
200-
# link: https://www.bloomberg.com/company/careers/working-here/engineering/
201-
# brand: Bloomberg Engineering
202-
# - name: paligo
203-
# link: https://paligo.net/
204-
# brand: Paligo
205-
# width: 200px
206-
# - name: stackblitz-svg
207-
# link: https://stackblitz.com/
208-
# brand: StackBlitz
209-
# - name: cncf
210-
# link: https://www.cncf.io/
211-
# brand: Cloud Native Computing Foundation
212-
# - name: twilio
213-
# link: https://www.twilio.com/
214-
# brand: Twilio
215-
# - name: slack
216-
# link: https://slack.com/
217-
# brand: Slack
218194
- name: expert-support
219195
link: https://expertsupport.com/?ref=writethedocs
220196
brand: Expert Support
221197
second:
222-
# - name: nginx
223-
# link: https://www.nginx.com/?ref=writethedocs
224-
# brand: NGINX
225198
- name: redocly-new
226199
link: https://redoc.ly/?ref=writethedocs
227200
brand: Redocly
228-
# - name: jetbrains-svg
229-
# link: https://jebrains.com/writethedocs
230-
# brand: JetBrains
231-
# text: "JetBrains is a software development company known for best-of-class integrated development environments (IDEs) like IntelliJ IDEA, PyCharm, and WebStorm. With Writerside, JetBrains brings its expertise to technical writing."
232-
# width: 7em
233201
- name: hyperlint
234202
link: https://hyperlint.com/?ref=writethedocs
235203
brand: Hyperlint
236-
# - name: google
237-
# link: https://opensource.google/?ref=writethedocs
238-
# brand: Google Open Source
239-
# text: "Google believes that open source is good for everyone. By being open and freely available, it enables and encourages collaboration and the development of technology."
240204
- name: readthedocs
241205
link: https://about.readthedocs.com/?ref=writethedocs
242206
brand: Read the Docs
243207
text: "Read the Docs simplifies software documentation by building, versioning, and hosting of your docs, automatically. Treating documentation like code keeps your team in the same tools, and your documentation up to date."
244208
- name: helpdocs
245209
link: https://www.helpdocs.io/?utm_source=writethedocs&utm_medium=sponsor&utm_campaign=wtdp25
246210
brand: HelpDocs
247-
# - name: raspberrypi
248-
# link: https://www.raspberrypi.com/
249-
# brand: Raspberry Pi
250-
# - name: readthedocs
251-
# - name: livelike
252-
# link: https://livelike.com/
253-
# brand: LiveLike
254-
# - name: openwebdocs-logo
255-
# link: https://opencollective.com/open-web-docs
256-
# brand: Open Web Docs
257-
# width: 150px
258-
# - name: juniper
259-
# link: https://www.juniper.net/
260-
# brand: Juniper
261-
# - name: starburst
262-
# link: https://www.starburst.io/
263-
# brand: Starburst
264211
first:
265212
in_kind:
266-
# - name: rtd
267-
# link: https://readthedocs.com/
268-
# brand: Read the Docs
269213

270214
# Things that change over time, listed in order of change
271215
flaglanding: False

docs/_static/survey/css/main-2024.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ nav {
253253
font-size: var(--font-size-1);
254254
line-height: var(--font-lineheight-2);
255255
}
256+
p {
257+
display: inline;
258+
}
256259
}
257260

258261
/* default color */
@@ -525,6 +528,9 @@ main {
525528
padding: var(--size-2);
526529
}
527530
}
531+
p {
532+
display: inline;
533+
}
528534
&&::after { /* add box-shadow */
529535
display: block;
530536
content:'';

docs/_static/survey/js/survey.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
document.addEventListener("DOMContentLoaded", function() {
2-
var submenuLinks = document.querySelectorAll(".simple > li > ul > li > a");
2+
// Select all submenu links, whether inside <p> or directly inside <li>
3+
var submenuLinks = document.querySelectorAll(".simple > li > ul > li a");
34

45
submenuLinks.forEach(function(link) {
56
link.addEventListener("click", function(event) {
6-
var parentLi = this.parentElement;
7+
var parentLi = this.closest("li"); // Find the closest <li> instead of assuming direct parent
78
var siblings = parentLi.parentElement.children;
89

910
// Hide other submenus
@@ -17,7 +18,4 @@ document.addEventListener("DOMContentLoaded", function() {
1718
parentLi.classList.toggle("active");
1819
});
1920
});
20-
});
21-
22-
23-
21+
});

docs/_templates/survey/header.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<a href="https://www.writethedocs.org/"><img src="/_static/sticker-wtd-colors.png" alt="Write the Docs logo"></a>
22
{% include 'info.html' %}
3-
<a href="/">Back to main site</a>
3+
<a href="/">Back to main site</a>
4+
<br>

docs/_templates/survey/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<link rel="stylesheet" href="https://kit.fontawesome.com/c6174d00bb.css" crossorigin="anonymous">
7+
<script src="https://kit.fontawesome.com/c6174d00bb.js" crossorigin="anonymous"></script>
88
<link rel="stylesheet" href="{{ pathto('_static/survey/css/open-props.min.css', 1) }}" type="text/css">
99
<link rel="stylesheet" href="{{ pathto('_static/survey/css/main-2024.css', 1) }}" type="text/css">
1010
<script src="{{ pathto('_static/survey/js/survey.js', 1) }}"></script>
@@ -27,4 +27,4 @@
2727
<footer>{% include 'footer.html' %}</footer>
2828
</div>
2929
</body>
30-
</html>
30+
</html>

0 commit comments

Comments
 (0)