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

DOCSP-46660-repetitive-paths #199

Merged
merged 6 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions config/redirects
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ define: versions master
# DOCS-16498 Getting Started Page End

# DOCSP-46666 Repetitive Paths Start
[*] ${prefix}/projects/projects/ -> ${base}/projects/
[*] ${prefix}/table-filters/table-filters/ -> ${base}/table-filters/
[*]: ${prefix}/projects/projects/ -> ${base}/projects/
[*]: ${prefix}/table-filters/table-filters/ -> ${base}/table-filters/

# DOCSP-46663 repetitive paths
[*]: ${prefix}/installation/install-on-an-unattended-server/rhel-centos-server-installation/rhel-centos-server-installation/ -> ${base}/installation/install-on-an-unattended-server/rhel-centos-server-installation/
Expand All @@ -42,3 +42,8 @@ define: versions master
# DOCSP-46664 repetitive file paths
[*]: ${prefix}/jobs/data-verification/data-verification/ -> ${base}/relational-migrator/jobs/data-verification/
[*]: ${prefix}/mapping-rules/fields/calculated-fields/calculated-fields/ -> ${base}/relational-migrator/mapping-rules/fields/calculated-fields/

#DOCSP-46660 repetitive paths redirect
[*]: ${prefix}/diagrams/diagrams/ -> ${base}/diagrams/
[*]: ${prefix}/diagrams/navigate-diagrams/navigate-diagrams/ -> ${base}/diagrams/navigate-diagrams/
[*]: ${prefix}/connection-strings/connection-strings/ -> ${base}/connection-strings/
10 changes: 5 additions & 5 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ toc_landing_pages = [
"installation/file-location",
"database-connections/database-connections",
"projects",
"mapping-rules/mapping-rules",
"mapping-rules/mapping-rule-options/mapping-rule-options",
"mapping-rules/introduction",
"mapping-rules/mapping-rule-options/introduction",
"mapping-rules/fields/calculated-fields/calculated-fields",
"mapping-rules/fields/field-customizations",
"mapping-rules/synthetic-foreign-key/synthetic-foreign-keys",
"table-filters",
"diagrams/diagrams",
"diagrams/navigate-diagrams/navigate-diagrams",
"diagrams",
"diagrams/navigate-diagrams",
"diagrams/navigate-diagrams/working-with-entities",
"jobs/sync-jobs",
"jobs/data-verification",
"connection-strings/connection-strings",
"/connection-strings",
"code-generation",
"code-generation/generate-app-code",
"code-generation/query-converter",
Expand Down
2 changes: 1 addition & 1 deletion source/database-connections/database-connections.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Migrator :guilabel:`Connections` page.
Save a MongoDB Connection </database-connections/save-mongodb-connection>
Save a Relational Connection </database-connections/save-relational-connection>
Manage Connections </database-connections/manage-database-connections>
Connection Strings </connection-strings/connection-strings>
Connection Strings </connection-strings>
2 changes: 1 addition & 1 deletion source/diagrams/diagrams.txt → source/diagrams.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ Get Started

Interpret </diagrams/understand-diagrams>
Manage </diagrams/manage-diagrams>
Navigate </diagrams/navigate-diagrams/navigate-diagrams>
Navigate </diagrams/navigate-diagrams>
4 changes: 2 additions & 2 deletions source/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ Explore libraries and tools for MongoDB.
Database Connections </database-connections/database-connections>

Projects </projects>
Mapping Rules </mapping-rules/mapping-rules>
Mapping Rules </mapping-rules/introduction>
Copy link
Collaborator

Choose a reason for hiding this comment

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

[nit] just a heads up, I think we'll want to also add this page onto the snooty.toml file for toc landing pages.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed!

Table Filters </table-filters>
Diagrams </diagrams/diagrams>
Diagrams </diagrams>
Migration Jobs </jobs/sync-jobs>
Code Generation </code-generation>
{+migrator-api+} <api-docs>
Expand Down
Loading