dotnet / dotnet/docfx

Bug: wrong "Fields" type info while using memberpage

Open
#7,028 0 comments 0 reactions 0 assignees View on GitHub
dotnet dotnet: csharp
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

**Operating System**: (`Windows` or `Linux` or `MacOS`)

Win 10

**DocFX Version Used**:

docfx 2.56.6.0

**Template used**: (`default` or `statictoc` or contain custom template)

"template": [
"statictoc",
"Plugins/memberpage.2.56.6/content"
],

**Steps to Reproduce**:

1. writing a cs script with fields
2. docfx --server
3.

**Expected Behavior**:

The Field page should have "declaration", ''Field Value" content, and do not contains "Namespace" ,"Assembly:"

like the Fields type displayed while using default template

![image](https://user-images.githubusercontent.com/26690881/105846764-9aa5bf00-6017-11eb-9d88-1d441318f751.png)

**Actual Behavior**:

declaration -> Syntax
Field Value -> returns

"Namespace", "Assembly" that should not be displayed

![image](https://user-images.githubusercontent.com/26690881/105846564-50244280-6017-11eb-8aca-8083f2cee339.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.