diff --git a/docs-website/generateDocsDir.ts b/docs-website/generateDocsDir.ts index 7141626235..b8d2839692 100644 --- a/docs-website/generateDocsDir.ts +++ b/docs-website/generateDocsDir.ts @@ -68,6 +68,7 @@ function list_markdown_files(): string[] { .toString() .trim() .split("\n"); + all_markdown_files = [...all_markdown_files, ...all_generated_markdown_files]; if (!process.env.CI) { @@ -102,6 +103,7 @@ function list_markdown_files(): string[] { /^docs\/rfc\/templates\/000-template\.md$/, /^docs\/docker\/README\.md/, // This one is just a pointer to another file. /^docs\/README\.md/, // This one is just a pointer to the hosted docs site. + /^\s*$/, //Empty string ]; const markdown_files = all_markdown_files.filter((filepath) => { @@ -111,7 +113,9 @@ function list_markdown_files(): string[] { } const markdown_files = list_markdown_files(); -// console.log(markdown_files); +// for (let markdown_file of markdown_files) { +// console.log("markdown_file", markdown_file); +// } function get_id(filepath: string): string { // Removes the file extension (e.g. md). diff --git a/docs/how/auth/add-users.md b/docs/how/auth/add-users.md index 51d2fbf702..aa839c6e0f 100644 --- a/docs/how/auth/add-users.md +++ b/docs/how/auth/add-users.md @@ -93,7 +93,7 @@ If you add a new username / password to the `user.props` file, no other informat about the user in DataHub (full name, email, bio, etc). This means that you will not be able to search to find the user. In order to add information about the user in DataHub, you can use our Python Emitter SDK to produce aspects for the CorpUser, -where the URN will be computed as `urn:li:corpuser:`, where is the identifier defined in the user.props file. +where the URN will be computed as `urn:li:corpuser:`, where `` is the identifier defined in the user.props file. For a more comprehensive overview of how users & groups are managed within DataHub, check out [this video](https://www.youtube.com/watch?v=8Osw6p9vDYY). diff --git a/metadata-ingestion/src/datahub/ingestion/extractor/schema_util.py b/metadata-ingestion/src/datahub/ingestion/extractor/schema_util.py index b78c219688..c0a6ac3de9 100644 --- a/metadata-ingestion/src/datahub/ingestion/extractor/schema_util.py +++ b/metadata-ingestion/src/datahub/ingestion/extractor/schema_util.py @@ -271,7 +271,7 @@ class AvroToMceSchemaConverter: tags = None if "deprecated" in merged_props: description = ( - f"DEPRECATED: {self._schema.other_props['deprecated']}\n" + f"DEPRECATED: {merged_props['deprecated']}\n" + description ) tags = GlobalTagsClass(