Skip to content

Fix documentation links#3667

Merged
tillprochaska merged 3 commits intodevelopfrom
fix/documentation-links
Apr 4, 2024
Merged

Fix documentation links#3667
tillprochaska merged 3 commits intodevelopfrom
fix/documentation-links

Conversation

@tillprochaska
Copy link
Contributor

@tillprochaska tillprochaska commented Apr 2, 2024

When we updated the docs site, we set up redirects for all of these links, so they were still working, but it is time to properly update the links everywhere.

This also updates a few links to the user guide from within the Aleph UI, so I won’t merge this directly into main as I usually do with documentation changes, but instead follow the normal release process for code changes.

One of the CI workflows is currently failing -- I’ve fixed this in #3670 and will rebase this branch as soon as the fix is merged.

When we updated the docs site, we set up redirects for all of these links, so they were still working, but it is time to properly update the links everywhere.
In the new user guide, there is no separate page for cross-referencing anymore. Instead, cross-referencing is mentioned as part of the docs article "Generating entities from a spreadsheet", so this link is redundant.
Previously, this linked to the developer docs about mappings. As this link is displayed in the Aleph UI, it makes more sense to link to the end user guide.
@tillprochaska tillprochaska force-pushed the fix/documentation-links branch from a31b79b to 3507888 Compare April 2, 2024 18:28
@tillprochaska tillprochaska marked this pull request as ready for review April 2, 2024 18:38
Aleph is commonly used to import data tables \(like a companies registry, list of persons of interest, or a set of government contracts\) that a user wants to search and browse.

It does this by mapping tabular source data to the [Follow the Money](https://docs.alephdata.org/developers/followthemoney) \(FtM\) data model. Aleph defines entities \(such as `People`, `Companies`, `Assets` or `Court Cases`\), and the relationships between them \(such as `Family`relations, or business interests – `Ownership` or `Directorship`, or other links like `Sanctions`, `Payments` \).
It does this by mapping tabular source data to the [Follow the Money](/developers/followthemoney) \(FtM\) data model. Aleph defines entities \(such as `People`, `Companies`, `Assets` or `Court Cases`\), and the relationships between them \(such as `Family`relations, or business interests – `Ownership` or `Directorship`, or other links like `Sanctions`, `Payments` \).
Copy link
Contributor

Choose a reason for hiding this comment

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

@tillprochaska This is ok without the domain? I notice this a few times in the changes you've made, I assume that it is ok, but wanted to check and be sure

Copy link
Contributor Author

@tillprochaska tillprochaska Apr 4, 2024

Choose a reason for hiding this comment

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

Thanks for being thorough! For internal links this is actually the preferred way for two reasons:

  • It doesn’t break when we change the domain.
  • We run an automated link checker in CI that checks that we don’t have broken internal links (here’s an example), but the link checker doesn’t work for external links/absolute URLs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Argh, but I’ve actually made one mistake and also used a relative URL in a Markdown file for the page at https://aleph.occrp.org/pages/faq where this doesn’t work. I’ll fix this shortly

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