Skip to content

Allow urls as extra #2084

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
garazdawi opened this issue Jan 28, 2025 · 0 comments · May be fixed by #2103
Open

Allow urls as extra #2084

garazdawi opened this issue Jan 28, 2025 · 0 comments · May be fixed by #2103

Comments

@garazdawi
Copy link
Contributor

I would like to have the possibility to have URLs listed as extras in order to have links outside of the local app as part of the sidebar. For example:

extras: [
  "Wikipedia": [url: "https://wikipedia.com"]
]

Would create a sidebar item called Wikipedia that links directly to https://wikipedia.com. See #2081 for a bit of more context.

@garazdawi garazdawi mentioned this issue Mar 4, 2025
@josevalim josevalim marked this as a duplicate and then as not a duplicate of #2094 Mar 4, 2025
sorentwo added a commit to sorentwo/ex_doc that referenced this issue Mar 31, 2025
This makes it possible to delcare URLs as extras and have them listed as
links in the sidebar. For example, to set a "Wikipedia" url:

```elixir
extras: [
  "Wikipedia": [url: "https://wikipedia.com"]
]
```

Closes elixir-lang#2084
@sorentwo sorentwo linked a pull request Mar 31, 2025 that will close this issue
4 tasks
sorentwo added a commit to sorentwo/ex_doc that referenced this issue Mar 31, 2025
This makes it possible to delcare URLs as extras and have them listed as
links in the sidebar. For example, to set a "Wikipedia" url:

```elixir
extras: [
  "Wikipedia": [url: "https://wikipedia.com"]
]
```

Closes elixir-lang#2084
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant