From 8db7f44501f337d25926965fe69d5f3d0170b813 Mon Sep 17 00:00:00 2001 From: Gustavo Gardusi Date: Mon, 10 Jun 2024 15:15:36 -0300 Subject: [PATCH] . --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90ff7dd..1da3b39 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,34 @@ # journaling -Google Apps Script for managing journaling at Google Docs +This project is a Google Apps Script designed to automate the creation of journaling documents in Google Drive. It uses a library called `ToiletPaper` with a namespace `Tissuer` to manage Google Docs, with a playful and humorous theme. + +## Features + +- Automatically creates a new journaling document named with the current date. +- Organizes documents into weekly folders. +- Uses a namespace structure to keep the code organized and modular. + +## Setup + +1. **Clone the repository or copy the code** into your Google Apps Script project. +2. **Ensure the `ToiletPaper` library is included** in your project: + - In the Google Apps Script editor, go to `Resources` > `Libraries`. + - Add the `ToiletPaper` library using its Script ID. + +## Usage + +The main function to run is `main()`. This function will create a new journaling document in the appropriate weekly folder. + +### Functions + +- **main()**: Entry point of the script. Calls `Journal.createJournalDoc()` to create a new journaling document. +- **Journal.createJournalDoc()**: Creates a new journaling document named with the current date and stores it in the appropriate weekly folder. + +## Example + +```javascript +// To create a new journaling document, simply run the main function: +function main() { + Journal.createJournalDoc(); +} +```