Put the namespaces(packages) into the json files #39593
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For whatever reason, instead of storing the namespaces (packages) in the docs metadata json files, they were stored in separate files. While I've already gone ahead and prepopulated the json files with the namespaces from their txt files, the automation that creates the txt files was still there. Worse, was that this automation ran separately from the docs processing code. This PR does the following:
GetDocsMsDevLanguageSpecificPackageInfoFn
which now matches what was recently done for Python, making the two languages similar in processing.Note: The docindex.yml files will be revered prior to this PR being merged. They're just there so I can test the changes without updating the metadata files in the docs repository during testing. Ditto for the ci.yml file changes for MSDocs publishing. I'd needed to add them back to test the json creation and namespace population on release.
Also of note: I know they're called packages in Java, not namespaces. The reason I'm using namespaces internally is so that when someone is looking at docs generation, it's the same across the 3 languages that use them, java, net and python.