Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@luantranminh
Copy link
Contributor

When searching or reloading certain document pages, the website automatically adds a trailing slash, which causes some URL paths to break.

Steps to Reproduce

  1. Access the Ent docs.
  2. Search for Custom Table Schema
  3. Click on the multi-schema doc.

Solution:

Using file path instead of URL path for link
ref: https://docusaurus.io/docs/markdown-features/links

@luantranminh luantranminh changed the title doc/md: fix some broken links with trailing slash doc/md: fix some broken links caused by trailing slash Mar 28, 2024
Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks πŸ™πŸ»

@a8m a8m merged commit 9c202cd into ent:master Mar 28, 2024
github-merge-queue bot referenced this pull request in infratographer/x Aug 8, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [entgo.io/ent](https://togithub.com/ent/ent) | `v0.13.1` -> `v0.14.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/go/entgo.io%2fent/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/entgo.io%2fent/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/entgo.io%2fent/v0.13.1/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/entgo.io%2fent/v0.13.1/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ent/ent (entgo.io/ent)</summary>

### [`v0.14.0`](https://togithub.com/ent/ent/releases/tag/v0.14.0)

[Compare Source](https://togithub.com/ent/ent/compare/v0.13.1...v0.14.0)

#### What's Changed

- ent: support schema views by [@&#8203;a8m](https://togithub.com/a8m)
in
[https://github.com/ent/ent/pull/4157](https://togithub.com/ent/ent/pull/4157)
- dialect/entsql: add Skip annotation by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4156](https://togithub.com/ent/ent/pull/4156)
- examples/migration: add column with default value by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/3960](https://togithub.com/ent/ent/pull/3960)
- Update data-migrations.mdx by
[@&#8203;max-yue](https://togithub.com/max-yue) in
[https://github.com/ent/ent/pull/3973](https://togithub.com/ent/ent/pull/3973)
- example/ent: add example for adding enums not at the end by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/3980](https://togithub.com/ent/ent/pull/3980)
- chore: fix function names by
[@&#8203;sunxunle](https://togithub.com/sunxunle) in
[https://github.com/ent/ent/pull/3979](https://togithub.com/ent/ent/pull/3979)
- doc/md: fix some broken links caused by trailing slash by
[@&#8203;luantranminh](https://togithub.com/luantranminh) in
[https://github.com/ent/ent/pull/3990](https://togithub.com/ent/ent/pull/3990)
- ent: export all generated query operations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4001](https://togithub.com/ent/ent/pull/4001)
- entc/gen: use query ops in generated code by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4005](https://togithub.com/ent/ent/pull/4005)
- build(deps): bump golangci/golangci-lint-action from 3 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ent/ent/pull/4033](https://togithub.com/ent/ent/pull/4033)
- Update predicates.md by
[@&#8203;max-yue](https://togithub.com/max-yue) in
[https://github.com/ent/ent/pull/3970](https://togithub.com/ent/ent/pull/3970)
- doc/website: add skiptx option to graphql by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4042](https://togithub.com/ent/ent/pull/4042)
- dialect/sql/sqlgraph: replace IN with EXISTS in HasNeighbors/With
predicates by [@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4060](https://togithub.com/ent/ent/pull/4060)
- entc/gen: add SetID to predefined mutation methods by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4061](https://togithub.com/ent/ent/pull/4061)
- entc/gen: fix conflict between set_id edge field and mutation fields
by [@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4062](https://togithub.com/ent/ent/pull/4062)
- schema/field: add support for ValueScanner on field.Bytes() by
[@&#8203;masseelch](https://togithub.com/masseelch) in
[https://github.com/ent/ent/pull/4067](https://togithub.com/ent/ent/pull/4067)
- entc/gen/template: improve goimports time by adding missing imports by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4103](https://togithub.com/ent/ent/pull/4103)
- entc/gen: concurrent gofmt by [@&#8203;a8m](https://togithub.com/a8m)
in
[https://github.com/ent/ent/pull/4104](https://togithub.com/ent/ent/pull/4104)
- schema/field: support annotating fields as deprecated by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4132](https://togithub.com/ent/ent/pull/4132)
- doc: explain how to use domain types properly by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4134](https://togithub.com/ent/ent/pull/4134)
- doc/website: fix ui build by [@&#8203;a8m](https://togithub.com/a8m)
in
[https://github.com/ent/ent/pull/4135](https://togithub.com/ent/ent/pull/4135)
- doc: explain how to use composite types properly by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4136](https://togithub.com/ent/ent/pull/4136)
- doc: explain how to use enum types properly by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4137](https://togithub.com/ent/ent/pull/4137)
- doc: explain how to use triggers in migrations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4138](https://togithub.com/ent/ent/pull/4138)
- doc: explain how to use extensions in migrations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4140](https://togithub.com/ent/ent/pull/4140)
- doc: explain how to use policies in migrations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4141](https://togithub.com/ent/ent/pull/4141)
- doc: minor fixes to rls page by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4142](https://togithub.com/ent/ent/pull/4142)
- doc/md: update enum doc by
[@&#8203;hilakashai](https://togithub.com/hilakashai) in
[https://github.com/ent/ent/pull/4145](https://togithub.com/ent/ent/pull/4145)
- doc: update project description by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4146](https://togithub.com/ent/ent/pull/4146)
- update go doc to match the method name by
[@&#8203;cpanato](https://togithub.com/cpanato) in
[https://github.com/ent/ent/pull/4083](https://togithub.com/ent/ent/pull/4083)
- doc: explain how to use functional indexes in migrations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4149](https://togithub.com/ent/ent/pull/4149)
- doc: explain how to use functional indexes in migrations by
[@&#8203;a8m](https://togithub.com/a8m) in
[https://github.com/ent/ent/pull/4150](https://togithub.com/ent/ent/pull/4150)
- Getting Started MDX Improvements by
[@&#8203;marakomer](https://togithub.com/marakomer) in
[https://github.com/ent/ent/pull/4151](https://togithub.com/ent/ent/pull/4151)

#### New Contributors

- [@&#8203;max-yue](https://togithub.com/max-yue) made their first
contribution in
[https://github.com/ent/ent/pull/3973](https://togithub.com/ent/ent/pull/3973)
- [@&#8203;sunxunle](https://togithub.com/sunxunle) made their first
contribution in
[https://github.com/ent/ent/pull/3979](https://togithub.com/ent/ent/pull/3979)
- [@&#8203;luantranminh](https://togithub.com/luantranminh) made their
first contribution in
[https://github.com/ent/ent/pull/3990](https://togithub.com/ent/ent/pull/3990)
- [@&#8203;cpanato](https://togithub.com/cpanato) made their first
contribution in
[https://github.com/ent/ent/pull/4083](https://togithub.com/ent/ent/pull/4083)
- [@&#8203;marakomer](https://togithub.com/marakomer) made their first
contribution in
[https://github.com/ent/ent/pull/4151](https://togithub.com/ent/ent/pull/4151)

**Full Changelog**: ent/ent@v0.13.1...v0.14.0

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

πŸ”• **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/infratographer/x).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chaosue pushed a commit to chaosue/ent that referenced this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants