-
Notifications
You must be signed in to change notification settings - Fork 835
Dokka Documentation #2594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jimlyas
wants to merge
6
commits into
recloudstream:master
Choose a base branch
from
jimlyas:chore/gradle
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dokka Documentation #2594
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
460555f
chore: Implement dokka to the Root Project
jimlyas 9cf5845
chore: Implement dependency verification
jimlyas f0f9090
chore: Fix dependency verification from verification-metadata.xml
jimlyas 9a84809
chore: trust BOM dependency as it doesn't have artifact to checksum
jimlyas 9e4a277
chore: trust OS specific artifacts
jimlyas 5a32b4c
chore: revert dependency verification changes
jimlyas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,233 @@ | ||
| # Module App | ||
|
|
||
| CloudStream Android application module providing the user interface and core functionality for the | ||
| streaming app. | ||
|
|
||
| # Package com.lagradost.cloudstream3 | ||
|
|
||
| Root package containing core application classes and main entry points. | ||
|
|
||
| ## Main Classes | ||
|
|
||
| - **CloudStreamApp** - Application class with initialization and crash handling | ||
| - **MainActivity** - Main activity handling app lifecycle | ||
| - **CommonActivity** - Base activity class with common functionality | ||
| - **AcraApplication** - Crash reporting integration | ||
|
|
||
| # Package com.lagradost.cloudstream3.actions | ||
|
|
||
| Action implementations for handling various video playback intents and external app integration. | ||
|
|
||
| # Package com.lagradost.cloudstream3.actions.temp | ||
|
|
||
| External app integration packages for video playback: | ||
| - VLC, MX Player, MPV, LibreTorrent, Just Player, etc. | ||
| - Web video casting and clipboard actions | ||
| - ChromeCast support | ||
|
|
||
| # Package com.lagradost.cloudstream3.mvvm | ||
|
|
||
| MVVM architecture components including ViewModel extensions and lifecycle management. | ||
|
|
||
| # Package com.lagradost.cloudstream3.network | ||
|
|
||
| Network utilities including: | ||
|
|
||
| - RequestsHelper - HTTP request handling | ||
| - CloudflareKiller - Cloudflare bypass | ||
| - DohProviders - DNS over HTTPS providers | ||
|
|
||
| # Package com.lagradost.cloudstream3.plugins | ||
|
|
||
| Plugin management system: | ||
|
|
||
| - Plugin - Plugin data model | ||
| - PluginManager - Plugin lifecycle management | ||
| - RepositoryManager - Plugin repository handling | ||
|
|
||
| # Package com.lagradost.cloudstream3.receivers | ||
|
|
||
| Broadcast receivers for system events and notifications. | ||
|
|
||
| # Package com.lagradost.cloudstream3.services | ||
|
|
||
| Background services: | ||
|
|
||
| - VideoDownloadService - Video download handling | ||
| - DownloadQueueService - Download queue management | ||
| - SubscriptionWorkManager - Anime/manga subscription updates | ||
| - BackupWorkManager - Data backup automation | ||
|
|
||
| # Package com.lagradost.cloudstream3.subtitles | ||
|
|
||
| Subtitle processing and selection utilities. | ||
|
|
||
| # Package com.lagradost.cloudstream3.syncproviders | ||
|
|
||
| Sync providers for tracking anime/manga watch history: | ||
|
|
||
| - AniListApi - AniList integration | ||
| - MALApi - MyAnimeList integration | ||
| - KitsuApi - Kitsu integration | ||
| - SimklApi - SIMKL integration | ||
|
|
||
| # Package com.lagradost.cloudstream3.syncproviders.providers | ||
|
|
||
| API implementations for sync providers: | ||
|
|
||
| - AniListApi - AniList API implementation | ||
| - MALApi - MyAnimeList API implementation | ||
| - KitsuApi - Kitsu API implementation | ||
| - SimklApi - SIMKL API implementation | ||
| - LocalList - Local list storage | ||
| - OpenSubtitlesApi - OpenSubtitles API | ||
| - Subdl, Addic7ed - Subtitle sources | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui | ||
|
|
||
| User interface components including player, fragments, and dialogs. | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.account | ||
|
|
||
| Account management: | ||
| - AccountSelectActivity - Account selection UI | ||
| - AccountViewModel - Account state management | ||
| - AccountAdapter - Account list adapter | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.download | ||
|
|
||
| Download management: | ||
|
|
||
| - DownloadFragment - Download UI | ||
| - DownloadViewModel - Download state management | ||
| - DownloadAdapter - Download list adapter | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.download.button | ||
|
|
||
| Download button components: | ||
| - DownloadButton - Download button UI | ||
| - PieFetchButton - Pie-style progress button | ||
| - BaseFetchButton - Base button implementation | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.download.queue | ||
|
|
||
| Download queue management: | ||
| - DownloadQueueFragment - Queue UI | ||
| - DownloadQueueViewModel - Queue state management | ||
| - DownloadQueueAdapter - Queue list adapter | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.home | ||
|
|
||
| Home screen: | ||
| - HomeFragment - Home UI | ||
| - HomeViewModel - Home state management | ||
| - HomeParentItemAdapter, HomeChildItemAdapter - List adapters | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.library | ||
|
|
||
| Library view: | ||
| - LibraryFragment - Library UI | ||
| - LibraryViewModel - Library state management | ||
| - PageAdapter, ViewpagerAdapter - View pager adapters | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.player | ||
|
|
||
| Video player: | ||
| - FullScreenPlayer - Full screen video player | ||
| - DownloadedPlayerActivity - Downloaded video playback | ||
| - PlayerGeneratorViewModel - Player state management | ||
| - ExtractorLinkGenerator - Stream link generation | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.player.source_priority | ||
|
|
||
| Stream quality management: | ||
| - SourcePriorityDialog - Source priority UI | ||
| - QualityProfileDialog - Quality profile settings | ||
| - PriorityAdapter, ProfilesAdapter - Adapters | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.quicksearch | ||
|
|
||
| Quick search functionality: | ||
| - QuickSearchFragment - Quick search UI | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.result | ||
|
|
||
| Result/details view: | ||
| - ResultFragment - Media details UI | ||
| - ResultViewModel2 - Details state management | ||
| - EpisodeAdapter - Episode list adapter | ||
| - ActorAdaptor - Actor/cast adapter | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.search | ||
|
|
||
| Search functionality: | ||
| - SearchFragment - Search UI | ||
| - SearchViewModel - Search state management | ||
| - SearchAdaptor, SearchHistoryAdaptor - Search adapters | ||
| - SearchSuggestionAdapter - Search suggestions | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.settings | ||
|
|
||
| Settings and preferences: | ||
|
|
||
| - SettingsFragment - Main settings UI | ||
| - SettingsGeneral, SettingsPlayer, SettingsUI - Settings categories | ||
| - SettingsProviders, SettingsAccount, SettingsUpdates - Specific settings | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.settings.extensions | ||
|
|
||
| Extensions management: | ||
| - ExtensionsFragment - Extensions UI | ||
| - PluginsFragment, PluginDetailsFragment - Plugin management | ||
| - ExtensionsViewModel, PluginsViewModel - State management | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.settings.testing | ||
|
|
||
| Testing utilities: | ||
| - TestFragment - Testing UI | ||
| - TestViewModel - Test state management | ||
| - TestResultAdapter - Test results adapter | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.settings.utils | ||
|
|
||
| Settings utilities: | ||
| - DirectoryPicker - Directory selection dialog | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.setup | ||
|
|
||
| Initial setup wizard: | ||
| - SetupFragmentLanguage - Language setup | ||
| - SetupFragmentLayout - Layout preferences | ||
| - SetupFragmentProviderLanguage - Provider language settings | ||
| - SetupFragmentExtensions - Extension setup | ||
|
|
||
| # Package com.lagradost.cloudstream3.ui.subtitles | ||
|
|
||
| Subtitle management: | ||
| - SubtitlesFragment - Subtitle selection UI | ||
| - ChromecastSubtitlesFragment - Chromecast subtitle sync | ||
|
|
||
| # Package com.lagradost.cloudstream3.utils | ||
|
|
||
| Utility functions: | ||
|
|
||
| - DataStore - Preferences storage | ||
| - UIHelper - UI utilities | ||
| - DownloadUtils - Download helpers | ||
| - ImageUtil - Image processing | ||
|
|
||
| # Package com.lagradost.cloudstream3.utils.downloader | ||
|
|
||
| Download utilities: | ||
| - DownloadManager - Download management | ||
| - DownloadQueueManager - Queue management | ||
| - DownloadFileManagement - File handling | ||
| - DownloadUtils - Core download utilities | ||
|
|
||
| # Package com.lagradost.cloudstream3.widget | ||
|
|
||
| Custom Android widgets: | ||
|
|
||
| - LinearRecycleViewLayoutManager | ||
| - CenterZoomLayoutManager | ||
| - FlowLayout | ||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,80 @@ | ||
| # Module Library | ||
|
|
||
| CloudStream multiplatform library providing core streaming functionality, extractors, and APIs for | ||
| both common and Android platforms. | ||
|
|
||
| # Package com.lagradost.cloudstream3 | ||
|
|
||
| Root package with core library classes and interfaces. | ||
|
|
||
| ## Main Classes | ||
|
|
||
| - **MainAPI** - Core API interface defining provider functionality | ||
| - **MainActivity** - Activity interface for UI implementation | ||
| - **ParCollections** - Parallel collection utilities | ||
|
|
||
| # Package com.lagradost.cloudstream3.extractors | ||
|
|
||
| Video extractors for various streaming hosts (100+ extractors). Includes implementations for: | ||
|
|
||
| - Streamplay, StreamSB, StreamTape | ||
| - Vidplay, Vidstream, VidMoly | ||
| - Videa, VkExtractor | ||
| - DoodExtractor | ||
| - MixDrop, Mp4Upload | ||
| - YoutubeExtractor | ||
| - And many more hosting services | ||
|
|
||
| # Package com.lagradost.cloudstream3.extractors.helper | ||
|
|
||
| Extractor helper utilities for specific streaming services: | ||
|
|
||
| - GogoHelper - Gogoanime streaming support | ||
| - NineAnimeHelper - 9Anime streaming support | ||
| - WcoHelper - WatchCartoonOnline support | ||
| - VstreamhubHelper - Vstreamhub support | ||
| - AsianEmbedHelper - Asian drama embed support | ||
| - AesHelper, CryptoJSHelper - Cryptography utilities | ||
|
|
||
| # Package com.lagradost.cloudstream3.metaproviders | ||
|
|
||
| Meta providers for content aggregation from multiple sources. | ||
|
|
||
| # Package com.lagradost.cloudstream3.mvvm | ||
|
|
||
| MVVM extensions and architecture components for reactive programming. | ||
|
|
||
| # Package com.lagradost.cloudstream3.network | ||
|
|
||
| Network utilities including WebViewResolver for handling JavaScript-based video sources. | ||
|
|
||
| # Package com.lagradost.cloudstream3.plugins | ||
|
|
||
| Plugin system interfaces: | ||
|
|
||
| - BasePlugin - Base plugin class | ||
| - CloudstreamPlugin - Plugin annotation and entry point | ||
|
|
||
| # Package com.lagradost.cloudstream3.syncproviders | ||
|
|
||
| Sync provider interfaces for anime/manga tracking integration. | ||
|
|
||
| # Package com.lagradost.cloudstream3.utils | ||
|
|
||
| Utility functions: | ||
|
|
||
| - SubtitleHelper - Subtitle processing | ||
| - M3u8Helper - HLS stream handling | ||
| - JsUnpacker - JavaScript unpacking utilities | ||
| - Coroutines - Coroutine extensions | ||
| - StringUtils - String utilities | ||
| - AppUtils - Application utilities | ||
|
|
||
| # Package com.lagradost.api | ||
|
|
||
| Android-specific API utilities. | ||
|
|
||
| ## Main Classes | ||
|
|
||
| - **Log** - Logging utility | ||
| - **ContextHelper** - Android context helper |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am unsure about AI generated documentation for these things.
It may look good at a glance, but it might not be very good long term. First of all it creates a maintenance task, which requires maintainers and contributors to keep this updated every time something is changed.
Secondly, it is not very helpful. In this example we have "Testing UI", what does it mean? It tells nothing more than the file name currently.
I think if we want more documentation about what files do we need to introduce a code standard wherein people use doc comments more and in an organized manner A workflow could then automatically generate appropriate documentation. This would make intuitive sense for contributors and be useful even if people only look at the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fully agree, the AI-generated documentation is far from decent.
I just thought it might be a nice addition to the project's documentation, by having some definition of what does the package contains