-
Notifications
You must be signed in to change notification settings - Fork 865
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
Question: Why \apidoc folder is needed #229
Comments
This is the suggested place for putting overwrite markdown files, e.g. https://github.com/dotnet/docfx/blob/dev/Documentation/apispec/YamlUtility.md. overwrite markdown files are files with YAML headers to provide more information to the API generated from source code, as shown in http://dotnet.github.io/docfx/api/Microsoft.DocAsCode.Common.YamlUtility.html. Currently documentation on this area is still missing, and we are working on it. |
Thank you, @vicancy! I've tried to create few overwrite .md-files. Nice that it works not only for types, but also for members and namespaces. |
It would be great! I've drafted one in #233 . Please feel free to add comments! |
Hi, @svver you mentioned that you have got the overwrite functionality working for namespaces, can you explain a little more about this and how you have it working? I would really like to have this feature so we can add documentation at the namespace level. Any help is much appreciated! |
@Shazwazza overwrite documents can apply to namespaces, http://dotnet.github.io/docfx/tutorial/intro_overwrite_files.html, For example, for namespace ---
uid: System
summary: *content
---
Here is the summary for summary namespace in markdown syntax...
|
@vicancy thanks for getting back to me. I'm using version 2.19.2 and no matter what I try I cannot get anything output for the Namespace. I can successfully merge or replace info at a class level but not for a namespace. Here's a screenshot which shows what I'm doing In that screenshot you'll see the Lucene.Net.Index.AtomicReader.md file and with that it overwrites information for that class, but the namespace link isn't successful. Any ideas? |
@Shazwazza The overwrite file format looks good to me. Could you share your |
@vicancy Yes the docfx.json file is here: https://github.com/Shazwazza/lucenenet/blob/docfx-apidocs/apidocs/docfx.json the overwrite section is including all files listed in |
@Shazwazza https://github.com/Shazwazza/lucenenet/edit/docfx-apidocs/apidocs/apispec/Lucene.Net.%E2%80%8BIndex.md According to the edit page, is there a zero-width space in between the uid? |
@vicancy You are an absolute legend! This must have come from some copy and paste issue and I certainly didn't that problem. This works as advertised. Thanks again :) |
I cannot find out why docfx creates
\apidoc
folder when executingdocfx init
.The text was updated successfully, but these errors were encountered: