mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
CI: Fixing the documentation build
This commit is contained in:
parent
94bc5c840c
commit
864ce8176d
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
args: docs/docfx.json
|
args: docs/docfx.json
|
||||||
- name: Update the docs
|
- name: Update the docs
|
||||||
run: |
|
run: |
|
||||||
cd _site
|
cd docs/_site
|
||||||
git config --global user.email "${GITHUB_ACTOR}@github.com";
|
git config --global user.email "${GITHUB_ACTOR}@github.com";
|
||||||
git config --global user.name "${GITHUB_ACTOR}";
|
git config --global user.name "${GITHUB_ACTOR}";
|
||||||
git init
|
git init
|
||||||
|
@ -207,10 +207,10 @@ namespace Kyoo.Core.Controllers
|
|||||||
{
|
{
|
||||||
IResource res => Combine(
|
IResource res => Combine(
|
||||||
_options.CurrentValue.MetadataPath,
|
_options.CurrentValue.MetadataPath,
|
||||||
typeof(T).Name.ToLowerInvariant(),
|
typeof(T).Name.ToLower(),
|
||||||
res.Slug
|
res.Slug
|
||||||
),
|
),
|
||||||
_ => Combine(_options.CurrentValue.MetadataPath, typeof(T).Name.ToLowerInvariant())
|
_ => Combine(_options.CurrentValue.MetadataPath, typeof(T).Name.ToLower())
|
||||||
};
|
};
|
||||||
return await CreateDirectory(path);
|
return await CreateDirectory(path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user