readme: replace docs url.

This commit is contained in:
Kavin 2022-11-14 01:39:00 +00:00 committed by GitHub
parent 512dc3af7f
commit e764b0cdf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 50 additions and 50 deletions

View File

@ -46,7 +46,7 @@ By using Piped, you can freely watch and listen to content without the fear of p
- [x] Performant by design, designed to handle 1000s of users concurrently - [x] Performant by design, designed to handle 1000s of users concurrently
- [x] Does not use official YouTube APIs - [x] Does not use official YouTube APIs
- [x] Uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to extract information - [x] Uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to extract information
- [x] Public [JSON API](https://piped-docs.kavin.rocks/docs/api-documentation/) - [x] Public [JSON API](https://docs.piped.video/docs/api-documentation/)
## Screenshots ## Screenshots
@ -61,13 +61,13 @@ By using Piped, you can freely watch and listen to content without the fear of p
## Self-Hosting ## Self-Hosting
See https://piped-docs.kavin.rocks/docs/self-hosting/ for more details. See https://docs.piped.video/docs/self-hosting/ for more details.
The source code of the documentation website is available at https://github.com/TeamPiped/Documentation. The source code of the documentation website is available at https://github.com/TeamPiped/Documentation.
## Documentation ## Documentation
The documentation can be found at https://piped-docs.kavin.rocks (accessible via IPNS as well). The documentation can be found at https://docs.piped.video (accessible via IPNS as well).
## Extensions ## Extensions

View File

@ -1,55 +1,55 @@
<template> <template>
<footer class="text-center py-4 rounded-xl children:(mx-3) w-full mt-10 mb-5"> <footer class="text-center py-4 rounded-xl children:(mx-3) w-full mt-10 mb-5">
<a aria-label="GitHub" href="https://github.com/TeamPiped/Piped" target="_blank"> <a aria-label="GitHub" href="https://github.com/TeamPiped/Piped" target="_blank">
<font-awesome-icon :icon="['fab', 'github']" /> <font-awesome-icon :icon="['fab', 'github']" />
<span class="ml-2" v-t="'actions.source_code'" /> <span class="ml-2" v-t="'actions.source_code'" />
</a> </a>
<a href="https://piped-docs.kavin.rocks/" target="_blank"> <a href="https://docs.piped.video/" target="_blank">
<font-awesome-icon :icon="['fa', 'book']" /> <font-awesome-icon :icon="['fa', 'book']" />
<span class="ml-2" v-t="'actions.documentation'" /> <span class="ml-2" v-t="'actions.documentation'" />
</a> </a>
<a href="https://github.com/TeamPiped/Piped#donations" target="_blank"> <a href="https://github.com/TeamPiped/Piped#donations" target="_blank">
<font-awesome-icon :icon="['fab', 'bitcoin']" /> <font-awesome-icon :icon="['fab', 'bitcoin']" />
<span class="ml-2" v-t="'actions.donations'" /> <span class="ml-2" v-t="'actions.donations'" />
</a> </a>
<a v-if="statusPageHref" :href="statusPageHref"> <a v-if="statusPageHref" :href="statusPageHref">
<font-awesome-icon :icon="['fa', 'server']" /> <font-awesome-icon :icon="['fa', 'server']" />
<span class="ml-2" v-t="'actions.status_page'" /> <span class="ml-2" v-t="'actions.status_page'" />
</a> </a>
<a v-if="donationHref" :href="donationHref"> <a v-if="donationHref" :href="donationHref">
<font-awesome-icon :icon="['fa', 'donate']" /> <font-awesome-icon :icon="['fa', 'donate']" />
<span class="ml-2" v-t="'actions.instance_donations'" /> <span class="ml-2" v-t="'actions.instance_donations'" />
</a> </a>
</footer> </footer>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
donationHref: null, donationHref: null,
statusPageHref: null, statusPageHref: null,
}; };
}, },
mounted() { mounted() {
this.fetchConfig(); this.fetchConfig();
}, },
methods: { methods: {
async fetchConfig() { async fetchConfig() {
this.fetchJson(this.apiUrl() + "/config").then(config => { this.fetchJson(this.apiUrl() + "/config").then((config) => {
this.donationHref = config?.donationUrl; this.donationHref = config?.donationUrl;
this.statusPageHref = config?.statusPageUrl; this.statusPageHref = config?.statusPageUrl;
}); });
}, },
}, },
}; };
</script> </script>
<style> <style>
footer { footer {
@apply bg-light-900; @apply bg-light-900;
} }
.dark footer { .dark footer {
@apply bg-dark-800; @apply bg-dark-800;
} }
</style> </style>