An open API service indexing awesome lists of open source software.

https://github.com/unknown321/azure-doc

Azure Architecture Center ebook
https://github.com/unknown321/azure-doc

azure documentation ebook epub

Last synced: about 2 months ago
JSON representation

Azure Architecture Center ebook

Awesome Lists containing this project

README

          

azure-doc
=========

Creates EPUB and Markdown files from [Azure Architecture Center](https://github.com/MicrosoftDocs/architecture-center)

See:
- https://github.com/MicrosoftDocs/architecture-center/issues/1569
- https://github.com/MicrosoftDocs/architecture-center/issues/2048

Image paths in markdown are rewritten relative to `-path` option.

#### Optional dependencies:
- rsvg-convert (`librsvg2-bin` in Debian/Ubuntu), converts svg to png - most ebook devices don't support svg

#### Building

```shell
make build
```

#### Usage

```shell
Usage of ./azure-doc:
-out string
output file (default "Azure_Architecture_Center.epub")
-outMD string
output markdown file (default "Azure_Architecture_Center.md")
-path docs
path to docs dir (default "./architecture-center/docs")
```

#### Example

```shell
# downloads documentation repo into ./architecture-center
# converts svg to png with rsvg-convert for ebook readers without svg support
# assembles the epub
make
```

#### TODO

- [ ] correct cross-document links
- [ ] fix absolute yml/md paths
- [ ] fix relations tree in markdown, some nodes are not in correct position