Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Issue with links on factory reference page #1621

Closed
elasticspoon opened this issue Jan 29, 2024 · 0 comments · Fixed by #1623
Closed

Issue with links on factory reference page #1621

elasticspoon opened this issue Jan 29, 2024 · 0 comments · Fixed by #1623
Labels

Comments

@elasticspoon
Copy link
Contributor

Description

Links within the docs for the factory reference: https://github.com/thoughtbot/factory_bot/blob/main/docs/src/ref/factory.md are broken.

Reproduction Steps

Expected behavior

It should take you to https://github.com/thoughtbot/factory_bot/blob/main/docs/src/ref/add_attribute.md

Actual behavior

Instead it takes you to https://github.com/thoughtbot/factory_bot/blob/main/docs/src/ref/ref/add_attribute.md, which is a broken link.

I believe the markdown links are incorrect.

## Block

You can use the block to define your factory. Within here you have access to the following methods:

- [`add_attribute`](ref/add_attribute.md)
- [`association`](ref/association.md)
- [`sequence`](ref/sequence.md)
- [`trait`](ref/trait.md)

should be

## Block

You can use the block to define your factory. Within here you have access to the following methods:

- [`add_attribute`](add_attribute.md)
- [`association`](association.md)
etc...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant