You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Reading List with read time & synchronization with DEV.
136
136
137
137
> Explanation
138
138
139
-
This will stop saving your articles since `saveArticles` is set to `false` (default is `true`). It will create your reading list with the articles in a structured way. You can change which directory you want using `outputDirReading`. For instance, the below workflow will save your articles in the `read` directory by adding your info in a `README`. It will add a reading time with the articles when `readTime` is set to `true` (default is `false`).
139
+
This will stop saving your articles since `saveArticles` is set to `false` (default is `true`). It will create your reading list with the articles in a structured way. You can change which directory you want using `outputDirReading`. For instance, the below workflow will save your articles in the `read` directory by adding your info in a `README`. It will add a reading time with the articles when `readTime` is set to `true` (default is `false`). Setting `synchronizeReadingList` to `true` will synchronize your reading list from DEV, removing any article from your reading list on DEV will also remove it from the readme here.
140
140
141
141
> Workflow code
142
142
@@ -166,6 +166,7 @@ jobs:
166
166
readingList: true
167
167
outputDirReading: "read" # this will save reading list in read/Readme.md
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ Your sentences are clear, but here are some minor grammar adjustments for clarit
17
17
- I've included [custom logic](https://github.com/Anmol-Baranwal/DevtoGitHub?tab=readme-ov-file#the-concept-of-excludetags-and-mustincludetags) based on tags to provide you with more flexibility in managing your reading list.
18
18
- All articles and the reading list will be fetched regardless of the total number.
19
19
- If you update an article on DEV, it will be automatically updated here the next time the workflow runs.
20
+
- You can synchronize your reading list from DEV. For instance, if you remove any article from the reading list on DEV, then it will also be removed in the reading list in the readme.
20
21
21
22
---
22
23
@@ -75,6 +76,7 @@ Various inputs are defined to let you configure the action:
75
76
| `mustIncludeTags` | To create a reading list to include this tag prioritizing over excludeTags. Use commas to separate if there are multiple tags. | `''` | `No` |
76
77
| `branch` | The git branch to use for these process. | `'main'` | `No` |
77
78
| `conventionalCommits` | To use conventional commit message standards. | `'true'` | `No` |
79
+
| `synchronizeReadingList` | To synchronize the reading list from DEV. Removing an article from the reading list on DEV will also remove it from the repository. | `'false'` | `No` |
78
80
79
81
<br>
80
82
@@ -95,8 +97,6 @@ Suppose we have an article with tags: `['react', 'javascript', 'frontend', 'tuto
95
97
- If `excludeTags` is 'backend' and `mustIncludeTags` is 'typescript'. The article is included because it does not have the `backend` tag.
96
98
- These cases will work for multiple tags, and `mustIncludeTags` will only work if `excludeTags` is provided.
97
99
98
-
> Please note that even if you remove a article from your reading list on DEV, it's isn't deleted from this repository. I'm going to solve this in the future release.
99
-
100
100
---
101
101
102
102
## 🤝 How to Contribute?
@@ -130,7 +130,7 @@ The scripts and documentation in this project are released under the <a href="./
0 commit comments