docfx

Static site generator for .NET API documentation.

MIT License

Downloads
38
Stars
4K
Committers
254

Bot releases are hidden (Show)

docfx - Version 1.9

Published by qinezh over 8 years ago

  1. Breaking Change Refactor template system:

    1. The input data model now contains all the properties including system generated metadata starting with underscore _ and globally shared variables stored in __global. You can use docfx build --exportRawModel to view the data model.
    2. Preprocessor's transform function signature changes to:
    exports.transform = function (model){
        // transform the model 
        return model;
    }
    
  2. Provide a new embedded template statictoc with TOC generated in build time. Webpages generated by this template is PURE static and you can simply open the generated webpage file to take a preview, no local server is needed.

  3. Allow switch markdown engine.

  4. Allow export metadata to manifest file.

  5. Improve exclude logic to help avoid PathTooLongException. (https://github.com/dotnet/docfx/issues/156)

  6. Provide with a config file named search-stopwords.json to customise full-text search stop-words. (https://github.com/dotnet/docfx/issues/279)

  7. Bug fixes:

  8. Fix bug when cref contains loop. (https://github.com/dotnet/docfx/issues/289)

  9. Make sure id is unique for each HTML in markdown transforming. (https://github.com/dotnet/docfx/issues/224)

  10. Fix index range bugs in YamlHeaderParser. (https://github.com/dotnet/docfx/issues/265)

docfx - Version 1.8.4

Published by qinezh over 8 years ago

  1. Fix bug when outputFolder, basedirectory and destination are all not set
  2. fix <a> tag when href has invalid value with anchor
docfx - Version 1.8.3

Published by qinezh over 8 years ago

  1. Fix bug for [!include()[]] when multiple articles in different subfolder including one file that v1.8.2 not resolved
docfx - Version 1.8.2

Published by qinezh over 8 years ago

  1. Fix bug for [!include()[]] when multiple articles in different subfolder including one file
docfx - Version 1.8.1

Published by qinezh over 8 years ago

  1. Fix bug when serialize attribute argument for type array. (https://github.com/dotnet/docfx/issues/280)
  2. Fix bug when include file link to an anchor.
  3. Don't modify link when target file not existed.
docfx - Version 1.9.0-alpha-0091-g1c1b291

Published by qinezh over 8 years ago

Support .NET Command Line Interface Project

docfx - Version 1.8

Published by qinezh over 8 years ago

  1. Support multiple regions selection, code lines highlight and dedent length setting in Code Snippet. (https://github.com/dotnet/docfx/issues/189)
  2. Support more tags in triple-slash-comments, e.g. lang, list, code, paramref and typeparamref.
  3. Add Example section to default template.
  4. Bug fixes:
    1. Fix bug when parsing triple-slash-comments. (https://github.com/dotnet/docfx/issues/221)
    2. Fix syntax generation for VB module. (https://github.com/dotnet/docfx/issues/260)
docfx - Version 1.7.2

Published by qinezh over 8 years ago

  1. Fix markdown bug:
    • Ordered list continue with unordered list.
    • Support gfm comments.
docfx - Version 1.7.1

Published by qinezh over 8 years ago

  1. Fix markdown bug:
    • Do NOT apply inline rule for html code.
    • Update em rule for gfm.
docfx - Version 1.7

Published by qinezh over 8 years ago

  1. Behavior change
    1. For articles not in TOC, it's TOC file is the nearest TOC File in its output folder. Previously we only search the TOC File under the same input folder of the Not-In-Toc article.
  2. Provide more information for API reference documentation
    1. Type of events (https://github.com/dotnet/docfx/issues/217)
    2. Parameters/returns for delegates (https://github.com/dotnet/docfx/issues/218)
    3. Type parameter description (https://github.com/dotnet/docfx/issues/204)
  3. Cross-reference is now supporting anchor# (https://github.com/dotnet/docfx/issues/190)
  4. C# Code snippet now supports referencing source code using a region #engion (https://github.com/dotnet/docfx/issues/160)
  5. Support TOC reference. With this syntax, we can combine multiple TOC files into a single TOC. (https://github.com/dotnet/docfx/issues/161)
  6. Improve user experience when using docfx.msbuild in VS IDE
  7. Code refactor:
    1. We improved DocFX project structure in this release. Microsoft.DocAsCode.EntityModel namespace is no longer in use. Assemblies are separated into Microsoft.DocAsCode.Build, Microsoft.DocAsCode.DataContracts, and Microsoft.DocAsCode.Metadata namespace. All assemblies can be separately referenced through NuGet. In this way, it is much convenient for plugin writers to reference existing data models and utilities.
docfx - Version 1.6.2

Published by vicancy over 8 years ago

  1. For issue #221, add detailed error information.
docfx - Version 1.6.1

Published by vicancy over 8 years ago

v1.6.1

  1. Fix bug: "Improve this doc" button disppears in method level

v1.6

  1. Add attribute in c# and vb syntax.
  2. Support full text search, with pure client side implementation:
    1. The feature is disabled by default. You can enable it by adding "_enableSearch": true to the globalMetadata property of docfx.json.
    2. The search engine is powered by lunr.js
docfx - Version 1.5.2

Published by vicancy over 8 years ago

Revert breaking changes in template introduced in v1.5.1

docfx - Version 1.5.1

Published by vicancy over 8 years ago

  1. Improve docfx init
    1. Fix #145
  2. Fix multi-threading issue when applying template
  3. Fix list behavior in markdown syntax to be consistent with GFM
docfx - Version 1.5

Published by vicancy over 8 years ago

  1. Add 3 options to build subcommand:
    1. --rawModelOutputFolder: to specify the output folder for raw model if --exportRawModel. If the value is not set, raw model will be in the same folder as the output documenation.
    2. --viewModelOutputFolder: to specify the output folder for view model if --exportViewModel. If the value is not set, view model will be in the same folder as the output documenation.
    3. --dryRun: if this option is set, docfx will go through all the build processes for all the documents, however, no documentation will generated.
  2. Improve markdown:
    1. Allow paired parentheses in link target, e.g. [text](paired(parentheses(are)supported)now "title").
  3. Improve performance for document build.
  4. Breaking changes:
    1. modify interface @Microsoft.DocAsCode.Plugins.IDocumentBuildStep.
docfx - Version 1.4

Published by vicancy over 8 years ago

  1. Cross-reference related:
    1. Make @uid rule more strict: if @ is not followed by ' or ", it must be followed by word character ([a-zA-Z])

    2. Introduce new syntax for cross-reference:

      1. similar to autolink: <xref:uid>
      2. similar to link: [title](xref:uid) or [title](@uid)
    3. support uid in toc.yml:

      - uid: getting-started
      - uid: manual
      
    4. support cross reference in toc.md

      # <xref:getting-started>
      # [Override title](@getting-started)
      
  2. Update yaml serializion:
    Add @Microsoft.DocAsCode.YamlSerialization.ExtensibleMemberAttribute
  3. Improve docfx init, now with docfx init, a docfx_project seed project will will generated.
  4. Several improvements for default template:
    1. Provide properties to customize layout: _disableNavbar, _disableBreadcrumb, _disableToc, _disableAffix, _disableContribution, _disableFooter
    2. Include empty main.css and main.js to head.tmpl.partial partial template so that there is no need to customize head.tmpl.partial when you want to customize website style.
docfx - Version 1.3.6

Published by vicancy almost 9 years ago

  1. Fix cross domain issue: timeout exception throws when document build takes longer than 15 minutes
  2. Fix docfx IOException when calling docfx -l report.txt
docfx - Release v1.3.5

Published by vicancy almost 9 years ago

FIX Github pages compatibility issue( Github pages now disallow iframe, however the default template of docfx uses iframe to load side toc): Update default template to use AJAX to load side toc, the original one is renamed to iframe.html. So now we have 2 embedded template, one is default and another is iframe.html.

docfx - Version v1.3

Published by vicancy almost 9 years ago

  1. docfx improvements
    1. Add subcommand docfx template. You can now docfx template list and docfx template export -A to list and export all the embeded templates!
    2. Add subcommand docfx merge. You can use this subcommand to merge platform from multiple APIs with the same uid
    3. Add two options to build subcommand, --exportRawModel and --exportViewModel. --exportRawModel exports the data model to apply templates, --exportViewModel exports the view model after running template's pre-process scripts.
    4. Add --globalMetadata, and --globalMetadataFile options to build subcommand. These options allow globalMetadata to be loaded from command line in json format or from a JSON file.
    5. Add --fileMetadataFile option to build subcommand. This option allows fileMeatdata to be read from an external JSON file.
    6. Support plugins. You can create your own template with a plugins folder, inside which, you create your own build steps. Refer to @Microsoft.DocAsCode.EntityModel.Plugins.BaseDocumentBuildStep for a sample plugin implementation.
  2. DFM syntax improvements
    1. Support note&div syntax
    2. Support query format in code snippet
      [!code-<language>[<name>](<codepath><queryoption><queryoptionvalue> "<title>")]
    3. Change xref logic:
      1. If content after @ is wrapped by ' or ", it contains any character including white space
      2. If content after @ is not wrapped by ' or ", it ends when:
        1. line ends
        2. meets whitespaces
        3. line ends with ., ,, ;, :, !, ? and ~
        4. meets 2 times or more ., ,, ;, :, !, ? and ~
  3. Code improvements
    1. Add @Microsoft.DocAsCode.YamlSerialization
      This project is based on YamlDotNet. It overrides classes like type converters to improve performance and fix bug existed in YamlDotNet
    2. Refactor markdown engine @Microsoft.DocAsCode.MarkdownLite
    3. Add @Microsoft.DocAsCode.MarkdownLite.IMarkdownRewritable`1. It provides a way to operate markdown tokens.
  4. Other improvements
    1. Add a new property _path into _attrs, it stands for the relative path from docfx.json to current file
    2. Improve missing xref warning message to include containing files.
    3. Add data-uid as attribute to generated html from default template, so that you can now find uid for API much more easily.
docfx -

Published by vicancy almost 9 years ago

Package Rankings
Top 17.68% on Formulae.brew.sh
Badges
Extracted from project README
NuGet ci nightly Help Wanted