Skip to content
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

Append remarks value with overwrite file instead of replace #7648

Open
yevgeni-zolotko opened this issue Sep 29, 2021 · 3 comments
Open

Append remarks value with overwrite file instead of replace #7648

yevgeni-zolotko opened this issue Sep 29, 2021 · 3 comments
Labels
authoring Edit markdown and generated API reference content

Comments

@yevgeni-zolotko
Copy link

Hello,
Is it possible to append the existing remarks value with an overwrite file instead of replacing it?

The API class:

    /// <summary>
    /// My summary.
    /// </summary>
    /// <remarks>
    /// My remarks.
    /// </remarks>
    public class MyClass
    {
    }

The overwrite file:

---
uid: MyClass
remarks: *content
---
My overwrite file content.

Actual produced remarks in HTML:

<p>My overwrite file content.</p>

Desired produced remarks in HTML:

<p>My remarks. My overwrite file content.</p>
@yufeih yufeih added the authoring Edit markdown and generated API reference content label Dec 15, 2022
@BionicCode
Copy link

@yevgeni-zolotko Hi! Have you found a solution already? From my understanding this isn't possible using overwrites.

@Patrick8639
Copy link
Contributor

I've made a pull request to add a possibility to specify the placement of overwrites: #9937

@BionicCode
Copy link

@Patrick8639 Thank you very much for your time and efforts to add this feature! Very much appreciated!

yufeih added a commit that referenced this issue Jun 3, 2024
* feat: permits to specify the placement of overwrites

Related #9908
Related #7648

* Corrected a small bug after refactoring.

* IItemWithMetadata is now internal.

* PolySharp is no more active for Docfx.Common

---------

Co-authored-by: Yufei Huang <yufeih@live.com>
p-kostov pushed a commit to ErpNetDocs/docfx that referenced this issue Jun 28, 2024
* feat: permits to specify the placement of overwrites

Related dotnet#9908
Related dotnet#7648

* Corrected a small bug after refactoring.

* IItemWithMetadata is now internal.

* PolySharp is no more active for Docfx.Common

---------

Co-authored-by: Yufei Huang <yufeih@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Edit markdown and generated API reference content
Projects
None yet
Development

No branches or pull requests

4 participants