2019-05-21 00:56:11 +03:00
[![pullreminders ](https://pullreminders.com/badge.svg )](https://pullreminders.com?ref=badge)
2019-03-30 04:22:03 +03:00
## Firefox Accounts
2014-11-05 04:38:23 +03:00
2019-03-30 04:22:03 +03:00
The Firefox Accounts (fxa) monorepo
2018-02-09 03:16:29 +03:00
2020-03-10 19:05:01 +03:00
### Table of Contents
[Getting Started ](#getting-started )\
[Contributing ](#contributing )\
[Documentation ](#documentation )
2021-04-17 02:28:38 +03:00
[Documentation for Scripts ](#documentation-for-scripts )
2020-03-10 19:05:01 +03:00
---
2014-11-05 04:38:23 +03:00
### Getting Started
2022-01-08 03:48:18 +03:00
Please read [our documentation ](https://mozilla.github.io/ecosystem-platform/tutorials/development-setup )
2015-06-30 19:31:59 +03:00
2019-07-01 22:56:34 +03:00
---
2015-05-08 23:19:01 +03:00
2019-04-22 15:14:02 +03:00
### Contributing
2020-06-18 04:13:10 +03:00
See the separate [CONTRIBUTING.md ](https://github.com/mozilla/fxa/blob/main/CONTRIBUTING.md ) to learn how to contribute.
2019-04-22 15:14:02 +03:00
2019-07-01 22:56:34 +03:00
---
2016-07-25 22:14:18 +03:00
2020-03-10 19:05:01 +03:00
### Documentation
2022-01-08 03:48:18 +03:00
The [Firefox Ecosystem Platform ](https://mozilla.github.io/ecosystem-platform/ ) serves as a documentation hub for Firefox Accounts and Subscription Platform.
2020-06-30 01:56:10 +03:00
---
### Documentation for Scripts
#### \_scripts/legal-md-to-pdf.sh
##### Purpose
2021-03-09 22:36:22 +03:00
This bash script converts markdown documents into pdfs. The purpose is to provide an efficient way for Mozilla VPN legal documents to be converted and made available to end-users.
2020-06-30 01:56:10 +03:00
##### Usage
2021-03-09 22:36:22 +03:00
_Pre-requisites_: The script requires the following:
2020-06-30 01:56:10 +03:00
2021-03-09 22:36:22 +03:00
- Local copy of Mozilla legal-docs repo: https://github.com/mozilla/legal-docs
2020-06-30 01:56:10 +03:00
- pandoc: https://github.com/jgm/pandoc/blob/master/INSTALL.md
- LaTeX: https://www.latex-project.org/get/
2021-03-09 22:36:22 +03:00
##### To Run:
```bash
# from root fxa directory
_scripts/legal-md-to-pdf.sh '/absolute/path/to/legal-docs/'
```
2021-03-11 05:10:24 +03:00
The script traverses the legal-docs directory looking for localized copies of the Mozilla VPN legal documents. When found, the script converts the document from .md to .pdf and writes it to `assets/legal/<document_name>.<locale>.pdf` .
2021-03-09 22:36:22 +03:00
2020-06-30 01:56:10 +03:00
Example:
2021-03-09 22:36:22 +03:00
directory provided: `/Users/test/github/mozilla/legal-docs/`
2021-03-11 05:10:24 +03:00
resulting file: `assets/legal/<document_name>.<locale>.pdf`