Getting started

nef is a command line tool to ease the creation of documentation in the form of Swift Playgrounds. It provides compile-time verification of documentation and exports it in Markdown format that can be consumed by Jekyll to generate websites.

💻 Installation

📟 Using Homebrew (preferred)

 ➜ brew install nef

It will warn you if there is a missing dependency and will provide guidance to install it. nef is compatible with macOS 10.14+

📣 You will find more information in Command-Line section.

 

📦 Using Swift Package Manager

nef can be consumed as a library in your macOS project.

 .package(url: "https://github.com/bow-swift/nef.git", from: "{version}")

It is an excellent option if you want to use all nef features in your macOS app, even to build new tooling on top of nef.

📣 You will find more information in Library section.

 

🔌 Using Xcode Editor Extension

Some of nef features can be used directly in Xcode as an Extension. You can install it directly from App Store or downloading the last binary from the releases section.