mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-09 07:53:33 +00:00
fix(docs): doc build failing (#4267)
This commit is contained in:
parent
bcabff85d5
commit
c8a3e68202
@ -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).
|
||||
|
||||
@ -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:<username>`, where <username> is the identifier defined in the user.props file.
|
||||
where the URN will be computed as `urn:li:corpuser:<username>`, where `<username>` 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).
|
||||
|
||||
|
||||
@ -271,7 +271,7 @@ class AvroToMceSchemaConverter:
|
||||
tags = None
|
||||
if "deprecated" in merged_props:
|
||||
description = (
|
||||
f"<span style=\"color:red\">DEPRECATED: {self._schema.other_props['deprecated']}</span>\n"
|
||||
f"<span style=\"color:red\">DEPRECATED: {merged_props['deprecated']}</span>\n"
|
||||
+ description
|
||||
)
|
||||
tags = GlobalTagsClass(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user