Code Monkey home page Code Monkey logo

psdocs-vscode's Introduction

PSDocs.Azure

Build Status VSCode Extension

Generate documentation from Infrastructure as Code (IaC). PSDocs for Azure automatically generates documentation for Azure infrastructure as code (IaC) artifacts.

Please review the Requirements to ensure you can use this extension successfully.

Note: this extension is in preview.

Features

Command Palette

You can generate markdown files directly from an ARM template through the Command Pallette. Simply press Ctrl+Shift+P (Win/Linux) or Command+Shift+P (MacOS) and type in PSDocs.Azure: Generate Markdown

Generate Markdown

You will first be asked to provide a full path to the ARM template. The prompt auto-populates with the full path of the currently opened file.

Provide full path to the ARM template file

Additionally, you will be asked to provide a relative path (from the ARM template) to store the generated markdown.

Provide destination relative path where markdown will be created

The markdown will be created in the folder relative to the the ARM template file.

Snippets

Adds snippets for adding metadata tag within ARM templates.

  • psdocs-arm can be used to add metadata at the template root schema
  • psdocs-arm-short can be used to add metadata anywhere else e.g. parameters or variables

PSDocs.Azure Template

PSDocs.Azure Template

Requirements

PSDocs.Azure is required for this extension to work.

To install the module use the following command from a PowerShell prompt.

Install-Module -Name PSDocs.Azure -Scope CurrentUser;

Known Issues and Limitations

  • The extension is in preview and therefore has not undergone extended testing scenarios.
  • Only one markdown can be generated at one time.
  • A separate directory should be used to avoid overriding the Generated Markdown --> README.md file.
  • Additional PSDocs.Azure configuration is not supported at this time.

Release Notes

Refer to CHANGELOG

Contributing

This project welcomes contributions and suggestions. If you are ready to contribute, please visit the contribution guide.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Maintainers

License

This project is licensed under the MIT License.

psdocs-vscode's People

Contributors

berniewhite avatar dependabot[bot] avatar microsoft-github-operations[bot] avatar microsoftopensource avatar vicperdana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

psdocs-vscode's Issues

Additional metadata snippets support

PSDocs supports the following metadata - these should be added to the snippet examples.

Field Scope Type Description
name Template string Used for markdown page title.
summary Template string Used as a short description for the markdown page.
description Template string Used as a detailed description for the markdown page.
description Parameter string Used as the description for the parameter.
example Parameter string, boolean, object, or array An example use of the parameter. The example is included in the JSON snippet. If an example is not included the default value is used instead.
ignore Parameter boolean When true the parameter is not included in the JSON snippet.
description Output string Used as the description for the output.

Bicep Support for the extension

Support for converting bicep files into markdown.

The feature will leverage solution highlighted here, an additional dependency will need to be added for bicep files.

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.