Issue with links on factory reference page
elasticspoon opened this issue · comments
Yuri Bocharov commented
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
- Open https://github.com/thoughtbot/factory_bot/blob/main/docs/src/ref/factory.md
- Click
add_attribute
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...