Skip to content

Commit 2a9e51b

Browse files
authored
Merge pull request #240 from ga4gh-beacon/website-docs
Website docs update
2 parents 47af89c + 4d9e306 commit 2a9e51b

24 files changed

Lines changed: 702 additions & 268 deletions

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unified repository for Beacon v2 Code & Documentation
1+
# Unified repository for Beacon Code & Documentation
22

33
## Description
44

@@ -8,7 +8,7 @@ This repository is a unified repository representing the different parts of the
88
* [models](models)
99
* Beacon v2 Documentation
1010
- authoritive source already in this repository [`/docs`](docs)
11-
- rendered version through [here](https://beacon-project.io/beacon-v2/) (alternative address is [docs.genomebeacons.org](https://docs.genomebeacons.org))
11+
- rendered version through [here](https://genomebeacons.org/beacon-v2/) (alternative address is [docs.genomebeacons.org](https://docs.genomebeacons.org))
1212

1313
As with other schema projects, here we separate between the schema source files (in `src`; JSON-Schema written in YAML) and the generated versions for referencing. The current setup allows already the direct referencing of the generated JSON schemas. Examples:
1414

bin/_jsonref2json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22
#
3-
# Script to dereference JSON $ref in Beacon v2 Models schemas
3+
# Script to dereference JSON $ref in Beacon Models schemas
44
#
55
# ------------ DEPRECATED ------------
66
# *******************************************************

docs/FAQ.md

Lines changed: 0 additions & 164 deletions
This file was deleted.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This directory contains the Beacon documentation. The files here are rendered through
2-
MkDocs and available at [beacon-project.io/beacon-v2/](https://beacon-project.io/beacon-v2/).
2+
MkDocs and available at [genomebeacons.org/beacon-v2/](https://genomebeacons.org/beacon-v2/).

docs/beacon-flavours.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Beacon "Flavours"
22

33
!!! Note "About UI"
4-
Most of the information that you will find here is related to the [Beacon v2 specification](/). For that reason, the examples are shown as REST API requests/responses in the form of [JSON](https://www.json.org/json-en.html). If you are only interested in using beacon with a **graphical interface** please visit the [implementations](implementations-options.md) page.
4+
Most of the information that you will find here is related to the [Beacon {{config.beacon_major_version}} specification](/). For that reason, the examples are shown as REST API requests/responses in the form of [JSON](https://www.json.org/json-en.html). If you are only interested in using beacon with a **graphical interface** please visit the [implementations](implementations-options.md) page.
55

66
While the original Beacon v1 only provided Boolean (_i.e._ **YES/NO**) responses
77
on queries for the existence of specific genomic variants, Beacon v2 is a flexible
@@ -24,9 +24,10 @@ with a _true_ or _false_ value when queried for the existence of some data in a
2424
a _Count Response_ Beacon only returns aggregate information, _i.e._ the number of matched
2525
entries (e.g. genomic variants), a feature also part of the Beacon v1 protocol.
2626

27-
However, in contrast to earlier versions, in Beacon v2 _in principle_ a beaconized resource
28-
may implement all types of query options (e.g. combinations of various filters and
29-
genomic query parameters) but still only offer a Boolean and optionally Count response.
27+
However, in contrast to earlier versions, in Beacon {{config.beacon_major_version}}
28+
_in principle_ a beaconized resource may implement all types of query options
29+
(e.g. combinations of various filters and genomic query parameters) but still
30+
only offer a Boolean and optionally Count response.
3031

3132
Also, all Beacons _should_ implement the _Boolean Response_ format as fallback option and
3233
handle extended options depending on the user's authentication status.
@@ -84,6 +85,5 @@ Information about the different data delivery options can be found here:
8485

8586

8687

87-
8888
[^1]: Privacy protecting as in "reasonably protecting by design but not immune to complex
8989
re-identification attacks".

docs/changes-todo.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ of the Beacon project site(s) as well as with overarching repository organizatio
55

66
## Changes
77

8+
### 2024-08-08: [genomebeacons.org](https://genomebeacons.org) now default Beacon domain
9+
10+
We have now migrated towards general use fo the `genomebeacons.org` domain for
11+
Beacon-related services and documentation. The main addresses are:
12+
13+
* [genomebeacons.org](https://genomebeacons.org) - main site for information, news ...
14+
* [docs.genomebeacons.org](https://docs.genomebeacons.org) - documentation site for API development and implementations
15+
16+
In due course we will disentangle the current pages and purge the more general Beacon
17+
information from [docs.genomebeacons.org](https://docs.genomebeacons.org). A start
18+
has been made with the **F**requently **A**sked **Q**uestions section which is now under
19+
[genomebeacons.org/FAQ](https://genomebeacons.org/FAQ).
20+
21+
The old domain [beacon-project.io](https://beacon-project.io) still exists but
22+
is only used for forwarding.
23+
24+
825
### 2023-06-12: Restructured and extended documentation
926

1027
* new separation of navigation areas into "Introducing Beacon", "Using Beacons",
@@ -102,7 +119,7 @@ to `beacon-v2`.
102119

103120
* Reorganization of navigation
104121
* Deleted page `implement-and-deploy.md`
105-
* Added pages: [What is Beacon v2](what-is-beacon-v2.md) and [Implementation options](implementations-options.md)
122+
* Added pages: [What is Beacon](what-is-beacon-v2.md) and [Implementation options](implementations-options.md)
106123
* [Filters](filters.md) Page Updated
107124

108125
### 2022-03-18: Macros and Variables for Documentation pages
@@ -120,9 +137,9 @@ The `mkdocs-macros-plugin` has been activated, allowing the use of site-wide var
120137

121138
### 2022-03-14: Documentation in Repository
122139

123-
As of today the new/emerging Beacon v2 documentation is meintained in this repository. We're testing rendered versions (same text/code base) through Github actions ([here](https://beacon-project.io/beacon-v2/)) and [ReadTheDocs](https://beacon-v2-unity.readthedocs.io/en/latest/).
140+
As of today the new/emerging Beacon v2 documentation is meintained in this repository. We're testing rendered versions (same text/code base) through Github actions ([here](https://genomebeacons.org/beacon-v2/)) and [ReadTheDocs](https://beacon-v2-unity.readthedocs.io/en/latest/).
124141

125-
* [x] testing of [ReadTheDocs version](https://beacon-v2-unity.readthedocs.io/) vs. a [`material` themed build](https://beacon-project.io/beacon-v2/)
142+
* [x] testing of [ReadTheDocs version](https://beacon-v2-unity.readthedocs.io/) vs. a [`material` themed build](https://genomebeacons.org/beacon-v2/)
126143
* [x] created and linked [docs.genomebeacons.org](https://docs.genomebeacons.org)
127144
sub-domain to the Github hosted version of the rendered documentation
128145
* [x] merging of previous separate documentation repository content from _beacon-v2-schema-documentation_

docs/code-organization.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
The development of Beacon code and documentation happens in the [`beacon-v2` repository](https://github.com/ga4gh-beacon/beacon-v2).
44

5+
[![Branch Structure](img/Beacon2API_branch_decision_tree.png)](img/Beacon2API_branch_decision_tree.png)
6+
7+
58
## Core branches
69

710
### `main`
@@ -44,6 +47,8 @@ Some of the instances of the schema were missing attributes and other aspects th
4447

4548
<b>Current status:</b><span style="color:blue">Waiting for PR to be accepted.</span>
4649

50+
51+
4752
## Feature and subfeature branches
4853

4954
The feature branches are the branches that bring a lot of changes together to change some specific part of the specifications. They can be composed by different subfeature branches that commit to them or just have one single working branch. The feature branches commit to the `develop` branch as they are the changes that will lead beacon to be upgraded to a new version. The subfeature branches commit to their parent feature branch, as they are a microchange of all the aspects that have to change in a new feature that is being developed. The branches are named as the main purpose of them, so it is made very clear what is the working area of them and the subfeature branches add the name of the feature branch they belong as a prefix followed by an underscore. The list of these feature branches with their subfeature branches is the one shown next:

docs/contribute.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ and Health [**GA4GH**](https://ga4gh.org). Since 2016 Beacon development has bee
55
organized through projects supported by ELIXIR with additional contributions from
66
outside organizations and individual developers and implementers.
77

8-
==TBD==
8+
The easiest way to contribute to Beacon development - or to enquire about or
9+
request additional features - is through the project's Github{{config.repo_icon}} [issues]({{config.repo_url}}/issues) and [discussions]({{config.repo_url}}/discussions).

docs/css/theme_overrides.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}
44

55
.md-grid {
6-
max-width: 1024px;
6+
max-width: 1200px;
77
}
88

99
.md-header__source {

0 commit comments

Comments
 (0)