-
Notifications
You must be signed in to change notification settings - Fork 155
Update docs.yaml #152
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
Update docs.yaml #152
Conversation
Added/combined the following content for DOC-4040: - search: 'https://(helpdocs|docs).datastax.com/(en/astra/)?(aws|gcp)/(dscloud/apollo|doc/dscloud/astra)/dscloudGettingStarted.html' replace: 'https://docs.datastax.com/en/astra-serverless/docs/getting-started/getting-started.html' - search: 'https://(helpdocs|docs).datastax.com/(en/astra/)?(aws|gcp)/(dscloud/apollo|doc/dscloud/astra)/dscloudObtainingCredentials.html' replace: 'https://docs.datastax.com/en/astra-serverless/docs/connect/secure-connect-bundle.html' - search: 'https://(helpdocs|docs).datastax.com/(en/astra/)?(aws|gcp)/(dscloud/apollo|doc/dscloud/astra)/dscloudShareClusterDetails.html' replace: 'https://docs.datastax.com/en/astra-serverless/docs/manage/org/manage-tokens.html' - search: 'http://downloads.datastax.com/java-driver/' replace: 'https://downloads.datastax.com/#datastax-drivers' - search: 'https://docs.datastax.com/en/drivers/java/(4.[0-9]+)/com/datastax/oss/driver/api/mapper/EntityHelper.html' replace: 'https://docs.datastax.com/en/drivers/java/\1/com/datastax/oss/driver/api/mapper/entity/EntityHelper.html' - search: '(http|https)://www.datastax.com/drivers/java/' replace: 'https://docs.datastax.com/en/drivers/java/' - search: 'http://docs.datastax.com/en/drivers/java' replace: 'https://docs.datastax.com/en/drivers/java' - search: 'https://docs.astra.datastax.com/docs/creating-your-astra-database' replace: 'https://docs.datastax.com/en/astra-serverless/docs/getting-started/create-db-choices.html' - search: 'https://docs.astra.datastax.com/docs/obtaining-database-credentials' replace: 'https://docs.datastax.com/en/astra-serverless/docs/connect/secure-connect-bundle.html' - search: 'https://docs.datastax.com/en/drivers/java/(4.[0-9]+)/com/datastax/oss/driver/api/core/cql/SyncCqlSession.html%60' replace: 'https://docs.datastax.com/en/drivers/java/\1/com/datastax/oss/driver/api/core/cql/SyncCqlSession.html' - search: 'https://code.google.com/p/snappy/' replace: 'https://google.github.io/snappy/' - search: 'https://code.google.com/p/guava-libraries/wiki/ListenableFutureExplained' replace: 'https://github.com/google/guava/wiki/ListenableFutureExplained' - search: 'https://community.datastax.com/index.html' replace: 'https://www.datastax.com/workshops'
docs.yaml
Outdated
@@ -37,6 +37,32 @@ rewrites: | |||
- http://downloads.datastax.com/php-driver/1.2.0/: http://downloads.datastax.com/php-driver/ | |||
- http://datastax.github.io/php-driver/api/Cassandra/interface.Type/: https://docs.datastax.com/en/developer/php-driver/latest/api/Cassandra/class.Type/ | |||
- http://datastax.github.io/php-driver/features/http://localhost:8000/features/datatypes/: https://docs.datastax.com/en/developer/php-driver/latest/features/ | |||
- search: 'https://(helpdocs|docs).datastax.com/(en/astra/)?(aws|gcp)/(dscloud/apollo|doc/dscloud/astra)/dscloudGettingStarted.html' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hhughes The existing redirects in this file are formatted differently than what we added to the Java driver file. Should @emeliawilkinson24 change the redirects to match this format in this file?
cc @absurdfarce
@hhughes @absurdfarce What do we need to change so this PR passes the checks? |
@jgillenwater I don't think it's a super-easy thing to fix. The Travis build is failing on this operation:
The wget command is pretty obviously not downloading anything which in turn causes everything else to fail. I get similar results if I run locally with a setup which will cause wget to fail (for different reasons). If I were guessing about the root cause here my first thought would be a cert issue of some kind, possibly caused by some expired certs. But that's entirely speculation. Regardless, fixing this build is not something we can devote a lot of resources to at the moment... so if you guys have a working docs build with these changes we're prolly best just to merge them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes to doc build process only, no code or behaviour changes involved
Added/combined the following content for DOC-4040:
replace: 'https://docs.datastax.com/en/astra-serverless/docs/getting-started/getting-started.html'
replace: 'https://docs.datastax.com/en/astra-serverless/docs/connect/secure-connect-bundle.html'
replace: 'https://docs.datastax.com/en/astra-serverless/docs/manage/org/manage-tokens.html'
replace: 'https://downloads.datastax.com/#datastax-drivers'
replace: 'https://docs.datastax.com/en/drivers/java/\1/com/datastax/oss/driver/api/mapper/entity/EntityHelper.html'
replace: 'https://docs.datastax.com/en/drivers/java/'
replace: 'https://docs.datastax.com/en/drivers/java'
replace: 'https://docs.datastax.com/en/astra-serverless/docs/getting-started/create-db-choices.html'
replace: 'https://docs.datastax.com/en/astra-serverless/docs/connect/secure-connect-bundle.html'
replace: 'https://docs.datastax.com/en/drivers/java/\1/com/datastax/oss/driver/api/core/cql/SyncCqlSession.html'
replace: 'https://google.github.io/snappy/'
replace: 'https://github.com/google/guava/wiki/ListenableFutureExplained'
replace: 'https://www.datastax.com/workshops'