Skip to content
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

[WIP] Website #31

Open
wants to merge 91 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
836c72e
initial documentation commit
MaeveMadiganMM Jul 2, 2023
0ee38b5
Test set-up of simunet_analysis.py documentation
MaeveMadiganMM Jul 3, 2023
12f2f07
remove _static
MaeveMadiganMM Jul 3, 2023
5f4cd62
add info to README
MaeveMadiganMM Jul 3, 2023
ec01496
add info to README
MaeveMadiganMM Jul 3, 2023
bbdd18a
initial documentation commit
MaeveMadiganMM Jul 2, 2023
ade7cfc
Test set-up of simunet_analysis.py documentation
MaeveMadiganMM Jul 3, 2023
347e4e3
remove _static
MaeveMadiganMM Jul 3, 2023
2cc58ed
add info to README
MaeveMadiganMM Jul 3, 2023
17de840
add info to README
MaeveMadiganMM Jul 3, 2023
2ed7fc4
updating docs
manuel-morales-a Oct 10, 2023
b8f03d2
updating PBSP team
manuel-morales-a Oct 10, 2023
adc6f02
updating index
manuel-morales-a Oct 11, 2023
2cea83e
justify text
manuel-morales-a Oct 11, 2023
f8d4f80
working on methodology
manuel-morales-a Oct 11, 2023
31e60fb
Initialised tutorial page
manuel-morales-a Oct 12, 2023
21cb123
Added template
manuel-morales-a Oct 12, 2023
9692ede
update
manuel-morales-a Oct 12, 2023
494cbd3
update DY paper
manuel-morales-a Oct 12, 2023
56d6a55
testing plots
manuel-morales-a Oct 16, 2023
33a777b
Added a dataset table
manuel-morales-a Oct 19, 2023
4492e18
Moving methodology tab
manuel-morales-a Oct 19, 2023
b89c83f
update index page
manuel-morales-a Oct 19, 2023
023e531
Added PBSP logo
ElieHammou Oct 20, 2023
40750bc
Improved dataset list
ElieHammou Oct 20, 2023
f605c37
Added TTBAR, TTBAR AC and DY dataset names
ElieHammou Nov 9, 2023
a16722d
Added datasets info to the list
ElieHammou Nov 10, 2023
2184052
Completed dataset list on website
ElieHammou Nov 13, 2023
4638900
Modified table of contents and organised tutorials folder
ElieHammou Nov 14, 2023
4f5c289
Added missing info
ElieHammou Nov 15, 2023
e23edcf
reformatted simunet analysis functions so as to be compatible with nu…
comane Nov 2, 2023
327c6e3
Merge pull request #32 from LucaMantani/use_numpydoc_format
manuel-morales-a Nov 29, 2023
baf50cc
work on results section
MaeveMadiganMM Dec 2, 2023
762229f
Merge branch 'website' of https://github.com/LucaMantani/simunet_rele…
MaeveMadiganMM Dec 2, 2023
821a978
website: top paper results
MaeveMadiganMM Dec 2, 2023
0470633
website, drell yan results section
MaeveMadiganMM Dec 2, 2023
6a02358
Added higgs decay info
ElieHammou Dec 6, 2023
2c84011
Wrote installation instructions
ElieHammou Dec 15, 2023
424adde
Added closure test tutorial page
ElieHammou Dec 15, 2023
ab2f5e6
added simultaneous fits tutorial
manuel-morales-a Dec 22, 2023
6c60bc3
modified first page of website
Jan 5, 2024
0426939
Wrote contaminated fit tutorial
ElieHammou Jan 10, 2024
362c748
updating features file
manuel-morales-a Jan 16, 2024
a9f940a
more updates features file
manuel-morales-a Jan 16, 2024
f63355b
complete features of sim fits
manuel-morales-a Jan 16, 2024
2cffc59
complete features
manuel-morales-a Jan 17, 2024
e82e27d
Fixed indentation issue
ElieHammou Jan 17, 2024
195206b
got rid of old doc
manuel-morales-a Jan 17, 2024
0ed62a0
Merge branch 'website' of https://github.com/LucaMantani/simunet_rele…
manuel-morales-a Jan 17, 2024
c05214a
added nnpdf reference
manuel-morales-a Jan 17, 2024
2633e1d
Added SIMunet closure test tutorial
ElieHammou Jan 17, 2024
c38303f
update on tutorial
manuel-morales-a Jan 18, 2024
1ce1ca9
Merge branch 'website' of https://github.com/LucaMantani/simunet_rele…
manuel-morales-a Jan 18, 2024
ae8d1a4
more updates
manuel-morales-a Jan 18, 2024
3a7169e
Fixed uploading instructions
ElieHammou Jan 18, 2024
a96dc4d
updating analysis
manuel-morales-a Jan 18, 2024
a7e9cc7
updating docs
manuel-morales-a Jan 18, 2024
3f47f86
delete old functions
manuel-morales-a Jan 18, 2024
72b9d6f
delete old functions, collect, cfactors
manuel-morales-a Jan 19, 2024
e41f471
got rid of useless function and spurious comment lines
manuel-morales-a Jan 19, 2024
592ae06
Revert "got rid of useless function and spurious comment lines"
manuel-morales-a Jan 19, 2024
6c46a6c
Revert "delete old functions, collect, cfactors"
manuel-morales-a Jan 19, 2024
9f45960
Revert "delete old functions"
manuel-morales-a Jan 19, 2024
48f3386
fixing refs
manuel-morales-a Jan 19, 2024
27873ac
small udpate
manuel-morales-a Jan 19, 2024
61f00ab
Merge branch 'main' into website
comane Jan 22, 2024
7c2e2ed
Update sphinx/source/features.rst
comane Jan 22, 2024
5b458db
Update sphinx/source/features.rst
comane Jan 22, 2024
fe9046a
Update sphinx/source/tutorials/simu_fit.rst
comane Jan 22, 2024
3af856b
update installation instructions
manuel-morales-a Jan 23, 2024
be08b5e
Update sphinx/source/tutorials/simu_fit.rst
manuel-morales-a Jan 24, 2024
23eaa33
added Sphinx documentation
manuel-morales-a Jan 24, 2024
8696eb0
updating Sphinx documentation
manuel-morales-a Jan 24, 2024
7bd4736
adding build files
manuel-morales-a Jan 24, 2024
c488495
removing redundancy
manuel-morales-a Jan 24, 2024
3df7817
moving build folder
manuel-morales-a Jan 24, 2024
5a7201b
moving build folder
manuel-morales-a Jan 24, 2024
6d714d3
deplying github pages
manuel-morales-a Jan 24, 2024
a9fe648
updating URL of repo
manuel-morales-a Jan 29, 2024
09fc6a1
updating runcard
manuel-morales-a Jan 29, 2024
c1eec1d
updating simu tutorial
manuel-morales-a Jan 29, 2024
91dea99
little section 4
manuel-morales-a Jan 29, 2024
e56710a
got rid of vanilla
manuel-morales-a Jan 29, 2024
4e03fbe
got rid of colon
manuel-morales-a Jan 29, 2024
06933d1
update build of website
manuel-morales-a Jan 29, 2024
e5928c4
more updates
manuel-morales-a Feb 5, 2024
9b812fe
building html
manuel-morales-a Feb 5, 2024
ae678cb
Added theory info
manuel-morales-a Mar 7, 2024
3a7c53e
added arm macos installation guide
FrancescoMerlotti Jun 19, 2024
1671bd3
updated installation
FrancescoMerlotti Jun 19, 2024
8f35cd4
added logos, favicon, and no overlap
FrancescoMerlotti Jun 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions sphinx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
26 changes: 26 additions & 0 deletions sphinx/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
The following are needed for the documentation set-up:

- conda install sphinx
- conda install sphinxcontrib-bibtex
- conda install sphinx-book-theme

(See e.g. https://sphinx-themes.org/ for other choices of themes)


From within the sphinx directory:

- sphinx-build -b html source build
- or 'make html'


Then 'open build/html/index.html' will open the webpage.


Important files:

- sphinx/source/conf.py configures the set-up. The project name, authors, version as well as extensions and project theme can all be changed here.
- sphinx/source/index.rst is the 'front page', and table of contents etc are specified here
- sphinx/source/simunet_analysis.rst contains some first basic examples of how we can generate documentation directly from the code docstrings.


See also https://www.sphinx-doc.org/en/master/index.html for much more info on Sphinx
35 changes: 35 additions & 0 deletions sphinx/make.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
Binary file added sphinx/source/_static/PBSP_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions sphinx/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* To apply full justification to the entire body text */
body {
text-align: justify;
}

/* To apply center alignment to headings */
/*h1, h2, h3, h4, h5, h6 {
text-align: center;
}
4 changes: 4 additions & 0 deletions sphinx/source/bibliography.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Bibliography**
================

.. bibliography:: simunet.bib
66 changes: 66 additions & 0 deletions sphinx/source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
#import os
#import sys
#sys.path.insert(0,'.')



# -- Project information -----------------------------------------------------

project = 'SIMUnet'
copyright = '2023, PBSP'
author = 'PBSP'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.autodoc","sphinxcontrib.bibtex","sphinx.ext.autosummary"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []


# Bibtex
bibtex_bibfiles = ['simunet.bib']
bibtex_default_style = 'unsrt'
bibtex_reference_style = 'author_year'

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
#html_theme = 'alabaster'
html_theme = 'sphinx_book_theme'

html_theme_options = {
'sidebar': 'none',
}

html_logo = "_static/PBSP_logo.png"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static']
html_static_path = ['_static']
html_css_files = ['custom.css']
Loading