Releases: ryanvilbrandt/comic_git
v0.3.8
Version 0.3.8 fixed some small bugs.
To update to 0.3.8
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory or .github/workflows/main.yaml
file that you want to keep, follow the steps below to update to 0.3.8:
- Download the
comic_git.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
and.github/
directories and everything in them. - Unzip
comic_git.zip
into your repository, replacing the deleted directories. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added handling for no published pages
- Added additional import to delete_autogenerated_files.py for people running the script locally who may have import issues.
v0.3.7
Version 0.3.7 adds support for more code hooks, and a few minor improvements and bug fixes.
To update to 0.3.7
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory or .github/workflows/main.yaml
file that you want to keep, follow the steps below to update to 0.3.7:
- Download the
comic_git.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
and.github/
directories and everything in them. - Unzip
comic_git.zip
into your repository, replacing the deleted directories. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added
extra_page_info_processing
andextra_comic_dict_processing
code hooks. - Comic folders will now be skipped if they're missing an info.ini file.
Bug Fixes
- Fixed bug where
before post text
andafter post text
couldn't be set separately for the main comic vs extra comics.
v0.3.6
Version 0.3.6 adds support for unicode characters in the info.ini files.
To update to 0.3.6
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory or .github/workflows/main.yaml
file that you want to keep, follow the steps below to update to 0.3.6:
- Download the
comic_git.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
and.github/
directories and everything in them. - Unzip
comic_git.zip
into your repository, replacing the deleted directories. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added support for unicode characters in the info.ini files
v0.3.5
Version 0.3.5 provides a small bug fix that may only be encountered when you're first creating your repo. If your comic_git is working fine, there's no need to update.
To update to 0.3.5
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory or .github/workflows/main.yaml
file that you want to keep, follow the steps below to update to 0.3.5:
- Download the
comic_git.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
and.github/
directories and everything in them. - Unzip
comic_git.zip
into your repository, replacing the deleted directories. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Bug Fixes
- Fixed a bug where creating a repo named ".github.io" resulted in a website with no CSS or images
v0.3.4
Version 0.3.4 adds some bug fixes and missing functionality to the Python code hooks.
To update to 0.3.4
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory or .github/workflows/main.yaml
file that you want to keep, follow the steps below to update to 0.3.4:
- Download the
comic_git.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
and.github/
directories and everything in them. - Unzip
comic_git.zip
into your repository, replacing the deleted directories. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added
preprocess
andpostprocess
code hooks. See Code Hooks for more information. - Added support for installing third-party libraries used by code hooks.
Bug Fixes
- Fixed bug where code hooks could not be loaded when comic_git was run in GitHub.
v0.3.3
Version 0.3.3 adds support for Python script hooks, that let you add to global variables to the templates that are built, and build custom pages that might be more complicated to generate than what the [Pages] section in the comic_info.ini file will allow.
To update to 0.3.3
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory that you want to keep, follow the steps below to update to 0.3.3:
- Download the
src.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
directory and everything in it. - Unzip
src.zip
into your repository, replacing the deletedsrc/
directory. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added support for a hooks.py file in your theme to allow you to write functions to run within comic_git. Documentation coming soon...
v0.3.2
Version 0.3.2 contains some improvements tailored to support certain power users, and some bug fixes.
To update to 0.3.2
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0 or later
Assuming you haven't changed anything in your src/
directory that you want to keep, follow the steps below to update to 0.3.2:
- Download the
src.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
directory and everything in it. - Unzip
src.zip
into your repository, replacing the deletedsrc/
directory. - Delete the
Transcripts folder =
option from your comic_info.ini file. See the documentation for the Transcripts section of your comic_info.ini file for more information.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- Added an optional "Show Uncategorized comics" option in the [Archive] section
- Allowed transcripts to load from both the comic folder AND a separately defined transcripts folder. See the documentation for the Transcripts section of your comic_info.ini file for more information.
- "before post text.txt" and "after post text.txt" can also be HTML files
- Added support for same-height or same-width archive thumbnails that keep their aspect ratio
- Added "scheduled_post_count" to the global template variables, so you can show off how far ahead of your buffer you are on your website
- Added "content_base_dir" to the global template variables to support the infinite scroll bug fix
- Added publish_all_comics command line option
Bug Fixes
- Fixed issue where infinite scroll in extra comics would not properly load images
- Don't crash if no comic folders are provided
v0.3.1
Version 0.3.1 contains some small bugfixes and improvements uncovered by @shirgoldbird
To update to 0.3.1
From 0.2.3 or earlier
Follow the instructions for upgrading to 0.3.0 in the previous release.
From 0.3.0
Assuming you haven't changed anything in your src/
directory that you want to keep, follow the steps below to update to 0.3.1:
- Download the
src.zip
file attached to this release, in theAssets
section underneath the Release Notes below. - Delete your existing
src/
directory and everything in it. - Unzip
src.zip
into your repository, replacing the deletedsrc/
directory. - Delete the
Transcripts folder =
option from your comic_info.ini file, if you wish to use the default transcript behavior. If you've set your Transcripts folder to a specific value already, you can leave this option alone.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Improvements
- The transcript list will now display only if more than one transcript language is available. (#51)
- Added Banner image as an optional setting in comic_info.ini. (#53)
- Added Auto-detect comic images as an optional setting in comic_info.ini. (#55)
- The
build_site.py
anddelete_autogenerated_images.py
scripts can now be run locally from any directory within your repository, not just at the repository root. (#54)
Bug Fixes
- Transcripts now support Markdown, like they're supposed to. Oops! (#50)
- Deleted the empty "Transcript folder =" option from comic_info.ini file, so transcripts will now properly load by default. You can still set the value of that option if you prefer to have your transcripts in another directory. (#52)
v0.3.0
Version 0.3.0 is here! And with it comes two big features that have been requested for a while: Themes and Extra Comics!
Themes allow you to create updates to your site's colors, fonts, layout, pages, etc without having to edit any of the existing templates. This has a number of benefits, such as being able to quickly switch between themes, sharing themes with other people, using other peoples' themes, and better compatibility with future updates of comic_git. See the link for more information.
The other exciting feature is Extra Comics, which allow you to host multiple comics on one website! See the link for more information.
Lastly, and this is the change I'm most excited about, I expect this to be the last major update to comic_git before 1.0! The upshot of this is that any future changes should be MUCH easier to update your own installation of comic_git to, without breaking any customizations you may have made in the meantime. Unfortunately, this means that upgrading to 0.3.0 will break your customizations. However, if you are careful and convert your customizations to a theme, you should then be able to easily keep up with comic_git updates for the foreseeable future.
To update to 0.3.0
- Backup your current comic_git repo to a separate directory. VERY IMPORTANT
- Delete all files in your current comic_git repo.
- Copy the files from https://github.com/ryanvilbrandt/comic_git/ into your repo. The easiest way to do this is by downloading the source code using the "Source code (zip)" link in the "Assets" section underneath the Release Notes below.
- Restore the
your_content/comics/
andyour_content/images
folders from your backup to your repo. - Restore any CNAME or favicon files, or other files in the root directory from your backup.
- If you made any changes to
src/templates/
oryour_content/colors_and_layouts/
, apply those changes to the default theme atyour_content/themes/default/
instead, or create a new theme. - Reapply any changes to
your_content/comic_info.ini
that you had in your originalcomic_info.ini
file. Note that some options were removed, and some may have changed functions. See Editing your Comic Info on the wiki for more information on each config option. - Edit
your_content/home page.txt
to whatever you want. This is your new home page! If you want your home page to still be your latest comic, try thehomepage_is_latest_comic
theme.
After that, you should be able to keep up with future updates by just replacing your src
directory, and leave all your other files untouched.
If you have any trouble trouble upgrading, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Features
Improvements
- Added support for navigation images rather than just text links.
- Moved stylesheet.css from colors_and_layouts to the default theme's css directory.
- Changed
src/css/style.css
tosrc/css/advanced_stylesheet.css
. - The "Latest" link on a comic page will always point to the last comic by ID, rather than the "latest" page which may not exist.
- Default index template now uses a
home page.txt
file inyour_content
to define the home page, to make it easier for users to update the home page without needing to alter any templates. - Archive thumbnails now use the file
thumbnail.jpg
rather than<original file name>_thumbnail.jpg
. - The ability to create low-quality comic pages has been removed, as it's currently unused.
- When searching for template files, HTML files now take priority over TPL files. This allows users to defined files like
index.html
in their themes and they will be used rather than the defaultindex.tpl
. - "Powered by" link now links to the comic_git homepage rather than the comic_git GitHub page.
- Provided sample
homepage_is_latest_comic
theme for anyone who wants their home page to link to the latest comic.
Bug Fixes
- Fixed issue where comic_git couldn't push to master properly the first time.
v0.2.3
IMPORTANT FIX IN THIS RELEASE
Shortly after the new year, the third-party action deploy the generated website to GitHub Pages changed how it worked. As a result, all existing comic_git installations started pushing all auto-generated HTML files to the working
branch instead of the master
branch, which causes the website to not auto-update and the working branch to get polluted with a bunch of files you don't want. In addition, if you had comics with post dates in the future, you'll find the your_content/comic/*
folders for those comics have been deleted. :(
The fix involved in this change is to remove the dependency on that third-party action, so now we're guaranteed to always only be deploying changes to the master branch, which should prevent this issue from happening again.
The easiest way to undo this change and update to the newest version of comic_git at the same time is to just delete everything in your repository that isn't the .git
or your_content
folders, and copy all the existing folders in this release to your repository, except for .git
and your_content
.
If you've lost any data from your_content
due to this bug, I sincerely apologize. If you go to your History tab in GitHub Desktop, you can right-click on the earliest commit made by the auto-build user and click Revert this Commit. That should result in you getting back all your comic files that were deleted by the auto-build. If you continue to have trouble, please don't hesitate to reach out for help on our Discord server at https://discord.gg/zmdHGXB
Release Notes
Bug Fixes
- Fixed issue with auto-build pushing changes to working branch rather than master branch.
- Fixed issue where some comic page names weren't being anchored properly in the infinite scroll page.
- Fixed issue where build script would fail when trying to make archive thumbnails for animated GIFs.
Improvements
- Added themes! See https://github.com/ryanvilbrandt/comic_git/wiki/Extra-Features#themes for more information.
- Added custom 404 page.
- Added --delete-scheduled-posts flag to build_site.py to make developing locally and deploying to non-Github hosts easier.