-
Notifications
You must be signed in to change notification settings - Fork 10
/
sourcedocs.sh
executable file
·8 lines (6 loc) · 1.27 KB
/
sourcedocs.sh
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
sourcedocs generate --spm-module Dflat
sourcedocs generate --spm-module SQLiteDflat
(cat Documentation/Reference/protocols/Queryable.md ; echo -e "\n" ; cat Documentation/Reference/protocols/WorkspaceDictionary.md ; echo -e "\n" ; cat Documentation/Reference/protocols/Workspace.md ; echo -e "\n" ; cat Documentation/Reference/extensions/Workspace.md ; echo -e "\n" ; cat Documentation/Reference/classes/QueryBuilder.md ; echo -e "\n" ; cat Documentation/Reference/protocols/WorkspaceSubscription.md ; echo -e "\n" ; cat Documentation/Reference/enums/SubscribedObject.md ; echo -e "\n" ; cat Documentation/Reference/classes/QueryPublisherBuilder.md) > docs/reference/Workspace.md
(cat Documentation/Reference/protocols/TransactionContext.md ; echo -e "\n" ; cat Documentation/Reference/extensions/TransactionContext.md ; echo -e "\n" ; cat Documentation/Reference/enums/TransactionError.md) > docs/reference/TransactionContext.md
(cat Documentation/Reference/classes/SQLiteWorkspace.md ; echo -e "\n" ; cat Documentation/Reference/enums/SQLiteWorkspace.FileProtectionLevel.md ; echo -e "\n" ; cat Documentation/Reference/enums/SQLiteWorkspace.WriteConcurrency.md ; echo -e "\n" ; cat Documentation/Reference/enums/SQLiteWorkspace.Synchronous.md) > docs/reference/SQLiteWorkspace.md