-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add static HTML output option from slack2html (#177)
* Adds CustomFreezer class and methods to main for html only option. Signed-off-by: Michael Robinson <[email protected]> * Moves CustomFreezer class to new script freezer in slackviewer. Signed-off-by: Michael Robinson <[email protected]> * Modifies default output dir. Signed-off-by: Michael Robinson <[email protected]> * Updates readme with new cmd options and adds help msg. Signed-off-by: Michael Robinson <[email protected]> * Add slack2html dep to requirements. Signed-off-by: merobi-hub <[email protected]> --------- Signed-off-by: Michael Robinson <[email protected]> Signed-off-by: merobi-hub <[email protected]>
- Loading branch information
1 parent
f5fdfa2
commit af9e8f1
Showing
4 changed files
with
58 additions
and
9 deletions.
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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ Werkzeug<3.0.0 | |
Flask<3.0.0 | ||
markdown2 | ||
emoji>=2.0.0,<3.0 | ||
frozen-flask |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from flask_frozen import Freezer | ||
|
||
class CustomFreezer(Freezer): | ||
|
||
cf_output_dir = None | ||
|
||
@property | ||
def root(self): | ||
return u"{}".format(self.cf_output_dir) | ||
|
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