Skip to content

Tool to convert MSFT Learn guides to EPUB

Notifications You must be signed in to change notification settings

ismagician/Microsoft-Learn-To-Epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft Learn to Epub

This tool converts Microsoft Learn certifications paths to epub

How to use

To make the epub you need the link of the certification in this case AZ-500

  • Chose a language

      lang = 'es'
      language = 'es-mx'
      path_url = 'https://learn.microsoft.com/api/lists/studyguide/exam/exam.az-500?locale=%s' % language
      base_url = 'https://docs.microsoft.com/%s' % language
  • Run main.py

  • With Prettier format the files created by the script

    npx prettier --write ./epub_base/EPUB/

  • And with make-epub.py create the EPUB file

    python make-epub.py epub_base file_name.epub
    

Note:

To install Prettier with node

  • For local installation npm install prettier

  • For epub creation Accessible EPUB 3 ( from EPUB 3 Samples Table) is used in epub_base directory

About

Tool to convert MSFT Learn guides to EPUB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published