Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Dec 1, 2024
1 parent c2189e6 commit 5bf2a26
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6613b247
2d2c1dfe
9 changes: 3 additions & 6 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.57">
<meta name="generator" content="quarto-1.6.39">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -70,10 +70,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-df7260c4d4abb70d94d26d5869cc4bfd.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -370,8 +370,6 @@ <h2 class="anchored" data-anchor-id="citation">Citation</h2>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -482,7 +480,6 @@ <h2 class="anchored" data-anchor-id="citation">Citation</h2>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
19 changes: 8 additions & 11 deletions index.html

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions pages/github_api_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.57">
<meta name="generator" content="quarto-1.6.39">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -71,10 +71,10 @@
<script src="../site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="../site_libs/quarto-html/anchor.min.js"></script>
<link href="../site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="../site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="../site_libs/quarto-html/quarto-syntax-highlighting-e26003cea8cd680ca0c55a263523d882.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="../site_libs/bootstrap/bootstrap.min.js"></script>
<link href="../site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="../site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<link href="../site_libs/bootstrap/bootstrap-df7260c4d4abb70d94d26d5869cc4bfd.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -433,8 +433,6 @@ <h2 class="anchored" data-anchor-id="example-usage">Example Usage</h2>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -545,7 +543,6 @@ <h2 class="anchored" data-anchor-id="example-usage">Example Usage</h2>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"href": "index.html#latest-open-source-statistics",
"title": "Open-source Healthcare Statistics",
"section": "Latest open-source statistics",
"text": "Latest open-source statistics\n\n\nShow code\nimport pandas as pd\nimport plotly.graph_objects as go\nimport datetime\nfrom dateutil.relativedelta import relativedelta\nfrom IPython.display import display, Markdown\nfrom tabulate import tabulate\n\n# Load data\ndf = pd.read_csv(\"../data/org_repos_agg.csv\")\n\n# Convert the \"Date\" column to a datetime dtype\ndf['Date'] = pd.to_datetime(df['Date'])\n\n# Filter the latest date for each organization\nlatest_dates = df.groupby('Organisation')['Date'].idxmax()\nlatest_df = df.loc[latest_dates]\n\n# Create a new column with hyperlinks for the \"Organisation\" column\nlatest_df['Organisation'] = latest_df.apply(lambda x: f\"[{x['Organisation']}]({x['URL']})\", axis=1)\n\n# Drop the \"Date\" column and sort by \"Open Repositories\"\nlatest_df = latest_df.drop(['Date', 'URL'], axis=1).sort_values('Open Repositories', ascending=False)\n\n# Calculate date data was rendered\ntoday = datetime.date.today()\nformatted_date = today.strftime(\"%d %B %Y\")\ndisplay(Markdown('Data updated as of: `%s`.' % formatted_date))\n\nMarkdown(tabulate(latest_df, headers='keys', tablefmt='pipe', showindex=False))\n\n\n\n\nTable 1: open-source statistics\n\n\n\nData updated as of: 24 November 2024.\n\n\n\n\n\n\n\n\n\n\n\nOrganisation\nOpen Repositories\nTop Language\nTop License\n\n\n\n\nNHSDigital\n347\nPython\nMIT License\n\n\nopensafely\n277\nPython\nMIT License\n\n\nnhsconnect\n196\nHTML\nApache License 2.0\n\n\nnhsuk\n191\nHTML\nMIT License\n\n\nebmdatalab\n145\nPython\nMIT License\n\n\nnhsbsa\n144\nHTML\nMIT License\n\n\nnhsengland\n111\nPython\nMIT License\n\n\nnhsx\n87\nPython\nMIT License\n\n\nukhsa-collaboration\n80\nPython\nMIT License\n\n\nHFAnalyticsLab\n76\nR\nMIT License\n\n\nBHFDSC\n68\nPython\nApache License 2.0\n\n\nnice-digital\n66\nJavaScript\nMIT License\n\n\nnhs-r-community\n60\nR\nCreative Commons Zero v1.0 Universal\n\n\nHealth-Education-England\n58\nJava\nMIT License\n\n\nopensafely-core\n54\nPython\nOther\n\n\nThe-Strategy-Unit\n53\nR\nMIT License\n\n\nnhs-bnssg-analytics\n38\nR\nGNU General Public License v3.0\n\n\nUKHSA-Internal\n34\nPython\nMIT License\n\n\nCDU-data-science-team\n31\nR\nOther\n\n\nNHSLeadership\n19\nHTML\nOther\n\n\nnhs-pycom\n14\nPython\nMIT License\n\n\n111Online\n12\nC#\nApache License 2.0\n\n\nNottingham-and-Nottinghamshire-ICS\n7\nR\nMIT License\n\n\nCQCDigital\n5\nC#\nMIT License\n\n\nMHRA\n5\nJavaScript\nMIT License\n\n\nNHS-Blood-and-Transplant\n1\nC#\nGNU General Public License v3.0",
"text": "Latest open-source statistics\n\n\nShow code\nimport pandas as pd\nimport plotly.graph_objects as go\nimport datetime\nfrom dateutil.relativedelta import relativedelta\nfrom IPython.display import display, Markdown\nfrom tabulate import tabulate\n\n# Load data\ndf = pd.read_csv(\"../data/org_repos_agg.csv\")\n\n# Convert the \"Date\" column to a datetime dtype\ndf['Date'] = pd.to_datetime(df['Date'])\n\n# Filter the latest date for each organization\nlatest_dates = df.groupby('Organisation')['Date'].idxmax()\nlatest_df = df.loc[latest_dates]\n\n# Create a new column with hyperlinks for the \"Organisation\" column\nlatest_df['Organisation'] = latest_df.apply(lambda x: f\"[{x['Organisation']}]({x['URL']})\", axis=1)\n\n# Drop the \"Date\" column and sort by \"Open Repositories\"\nlatest_df = latest_df.drop(['Date', 'URL'], axis=1).sort_values('Open Repositories', ascending=False)\n\n# Calculate date data was rendered\ntoday = datetime.date.today()\nformatted_date = today.strftime(\"%d %B %Y\")\ndisplay(Markdown('Data updated as of: `%s`.' % formatted_date))\n\nMarkdown(tabulate(latest_df, headers='keys', tablefmt='pipe', showindex=False))\n\n\n\n\nTable 1: open-source statistics\n\n\n\nData updated as of: 01 December 2024.\n\n\n\n\n\n\n\n\n\n\n\nOrganisation\nOpen Repositories\nTop Language\nTop License\n\n\n\n\nNHSDigital\n347\nPython\nMIT License\n\n\nopensafely\n277\nPython\nMIT License\n\n\nnhsconnect\n196\nHTML\nApache License 2.0\n\n\nnhsuk\n191\nHTML\nMIT License\n\n\nebmdatalab\n145\nPython\nMIT License\n\n\nnhsbsa\n144\nHTML\nMIT License\n\n\nnhsengland\n111\nPython\nMIT License\n\n\nnhsx\n87\nPython\nMIT License\n\n\nukhsa-collaboration\n80\nPython\nMIT License\n\n\nHFAnalyticsLab\n76\nR\nMIT License\n\n\nBHFDSC\n68\nPython\nApache License 2.0\n\n\nnice-digital\n66\nJavaScript\nMIT License\n\n\nnhs-r-community\n60\nR\nCreative Commons Zero v1.0 Universal\n\n\nHealth-Education-England\n58\nJava\nMIT License\n\n\nopensafely-core\n54\nPython\nOther\n\n\nThe-Strategy-Unit\n53\nR\nMIT License\n\n\nnhs-bnssg-analytics\n38\nR\nGNU General Public License v3.0\n\n\nUKHSA-Internal\n34\nPython\nMIT License\n\n\nCDU-data-science-team\n31\nR\nOther\n\n\nNHSLeadership\n19\nHTML\nOther\n\n\nnhs-pycom\n14\nPython\nMIT License\n\n\n111Online\n12\nC#\nApache License 2.0\n\n\nNottingham-and-Nottinghamshire-ICS\n7\nR\nMIT License\n\n\nCQCDigital\n5\nC#\nMIT License\n\n\nMHRA\n5\nJavaScript\nMIT License\n\n\nNHS-Blood-and-Transplant\n1\nC#\nGNU General Public License v3.0",
"crumbs": [
"opensource-health-stats v0.2.0",
"Homepage"
Expand Down

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions site_libs/bootstrap/bootstrap.min.css

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion site_libs/quarto-html/quarto.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
}

async function findAndActivateCategories() {
const currentPagePath = offsetAbsoluteUrl(window.location.href);
// Categories search with listing only use path without query
const currentPagePath = offsetAbsoluteUrl(
window.location.origin + window.location.pathname
);
const response = await fetch(offsetRelativeUrl("listings.json"));
if (response.status == 200) {
return response.json().then(function (listingPaths) {
Expand Down
6 changes: 3 additions & 3 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://nhs-pycom.github.io/opensource-health-statistics/index.html</loc>
<lastmod>2024-11-24T00:53:46.508Z</lastmod>
<lastmod>2024-12-01T01:00:25.361Z</lastmod>
</url>
<url>
<loc>https://nhs-pycom.github.io/opensource-health-statistics/about.html</loc>
<lastmod>2024-11-24T00:53:46.508Z</lastmod>
<lastmod>2024-12-01T01:00:25.361Z</lastmod>
</url>
<url>
<loc>https://nhs-pycom.github.io/opensource-health-statistics/pages/github_api_call.html</loc>
<lastmod>2024-11-24T00:53:46.508Z</lastmod>
<lastmod>2024-12-01T01:00:25.361Z</lastmod>
</url>
</urlset>

0 comments on commit 5bf2a26

Please sign in to comment.