Have you checked out the Open Logic Project recently? Created a few years ago, it’s an open-source, collaborative logic text that has several nice features. One is that the material is modular: it can be “remixed” into individual open-source texts on specialized subjects. There are now a few examples of this.
You can check them out on the Project Builds page. You can also check out the entire Open Logic Text in a few formats (including PDF) and individual sections it. If you’re interested in making your own remix of the material, there are some preliminary instructions here.
Related: “Illustrations of Logicians“; “Publishing Your Philosophy Book with Open Access“; “What Is the Best Type of Open Access for Philosophy and Other Humanities Disciplines?“; “An ‘Open Textbook’ for Introduction to Philosophy“