Coder Social home page Coder Social logo

docfx's Introduction

DocFX Site

For instructions on how to use DocFX, visit https://dotnet.github.io/docfx/

Getting Started

  1. Install DocFX

On OSX (brew required)

brew install docfx

On Windows (chocolately required)

choco install docfx -y
  1. Clone Repo

If you haven't cloned Meadow.Core and Meadow.Foundation do so first and then clone docfx as a sibling.

git clone [email protected]:WildernessLabs/Meadow.Core.git
  1. Launch site:
cd docfx
docfx docfx.json --serve

Configuring Scripts First Time

To make the helper scripts executable, run these commands in the terminal after cloning:

chmod +x ./build-serve-docs.sh
chmod +x ./build-docs.sh
chmod +x ./get-latest.sh

Committing Changes

Before committing back to the repo, run ./build-docs.sh. This will ensure you have the latest from Meadow.Core and Meadow.Foundation repos. Here's a breakdown of helper scripts:

  • ./build-docs.sh - runs ./get-latest.sh, then runs docfx docfx.json
  • ./build-serve-docs.sh - runs ./get-latest.sh, then runs docfx docfx.json --serve
  • ./get-latest.sh - gets latest from Meadow.Core and Meadow.Foundation

DocFX stuff

You can link to APIs this way:

  • MD link notation: [IApp](xref:Meadow.IApp)
  • @ notation: @"Meadow.IApp"

Both will resolve at build time to the Meadow.IApp api doc entry.

The @ notation is shorter, but the MD notation allows you to set the link title.

Troubleshooting

If it fails on Mac/Linux with some SQLitePCLRaw nonsense, run this:

nuget install -OutputDirectory $TMPDIR SQLitePCLRaw.core -ExcludeVersion
for docfx in /usr/local/Cellar/docfx/*; do cp "$TMPDIR/SQLitePCLRaw.core/lib/net45/SQLitePCLRaw.core.dll" "$docfx/libexec"; done

License

Copyright

Content copyright Wilderness Labs.

Electronics tutorial copyright Bryan Costanich.

Documentation Prose

All the documentation prose is released under a Creative Commons Attribution + Noncommercial + NoDerivatives (CC BY-NC-ND) license. Feel free to share verbatim in non-commercial usage and provide attribution. Commercial usage may be granted in certain use cases. If you need a more permissive license, please contact us at [email protected].

Creative Commons BY-NC-ND Logo

Human Readable Version of the License

Code Samples and Code Snippets

All code samples and code snippets, whether they be full applications, or embedded snippets within the documentation are released under the Apache 2 license. Feel free to use and distribute the code as you see fit, under the very permissive terms of the license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.