mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
test
This commit is contained in:
parent
2cb3a08b7b
commit
3e87a9bb30
@ -92,7 +92,7 @@ You can attach multiple links to a repo like so:
|
||||
url: https://github.com/oceanprotocol/keeper-contracts/tree/develop/doc
|
||||
```
|
||||
|
||||
The GitHub link is automatically added for every repository name and will always be displayed.
|
||||
The GitHub link is automatically added for every repository name and will always be displayed. You can add a private repo to prepare for a release, it won't be displayed until it is made public on GitHub.
|
||||
|
||||
- [`/data/repositories.yml`](data/repositories.yml)
|
||||
|
||||
|
@ -7,7 +7,7 @@ const queryGithub = graphql`
|
||||
query GitHubReposInfo {
|
||||
github {
|
||||
organization(login: "oceanprotocol") {
|
||||
repositories(first: 100, isFork: false) {
|
||||
repositories(first: 100, privacy: PUBLIC, isFork: false) {
|
||||
edges {
|
||||
node {
|
||||
name
|
||||
@ -37,6 +37,11 @@ const Repository = ({ name, links }) => (
|
||||
.filter(n => n)
|
||||
|
||||
const repo = repoFilteredArray[0]
|
||||
|
||||
// safeguard against more empty items,
|
||||
// e.g. when private repos are referenced in repositories.yml
|
||||
if (repo === undefined) return null
|
||||
|
||||
const { url, description } = repo
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user