-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update Rust workflow to build and test in release mode, create…
… release, and upload release asset
- Loading branch information
1 parent
15977a0
commit ad1efcd
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,58 @@ | ||
# ml2pdf | ||
ML2PDF | ||
====== | ||
<p align="center"> | ||
<img src="assets/ml2pdf-logo.png" alt="ML2PDF Logo"> | ||
</p> | ||
|
||
This project converts Microsoft Learn courses into PDF files by downloading and processing course and module content. | ||
|
||
|
||
Features | ||
-------- | ||
|
||
* Convert Microsoft Learn courses to PDF format. | ||
* Download HTML content of modules and units. | ||
* Process and convert HTML content into PDF files. | ||
* Merge unit PDF files into a single PDF file of the entire course. | ||
|
||
Usage | ||
----- | ||
|
||
Windows users can download the compiled version from the [Releases](https://github.com/tu_usuario/learn-microsoft-courses-to-pdf/releases) section and run the program with the following command: | ||
|
||
```sh | ||
ml2pdf.exe url_of_the_course | ||
``` | ||
|
||
For example: | ||
``` | ||
ml2pdf.exe "https://learn.microsoft.com/en-us/training/courses/azure-administrator" | ||
``` | ||
|
||
Requirements | ||
----- | ||
* Rust and Cargo: Rust installation. | ||
* wkhtmltopdf: Tool to convert HTML to PDF. | ||
* pdfunite: Tool to merge PDF files. | ||
|
||
Compilation | ||
----- | ||
1. Clone the repository: | ||
``` | ||
git clone https://github.com/tu_usuario/learn-microsoft-courses-to-pdf.git | ||
cd learn-microsoft-courses-to-pdf | ||
``` | ||
2. Install dependencies: | ||
``` | ||
cargo build | ||
``` | ||
|
||
Notes | ||
----- | ||
* Make sure you have a stable Internet connection while running the program. | ||
* Temporary files generated during the process are automatically deleted after the PDFs are merged. | ||
* If an error occurs during the process, the temporary files will not be deleted automatically, and you may have to delete them manually. | ||
|
||
License | ||
----- | ||
This project is licensed under the MIT License. See the LICENSE file for details. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.