Skip to content

Commit df47cc5

Browse files
committed
Update logo/styling
1 parent bedbb60 commit df47cc5

File tree

7 files changed

+64
-58
lines changed

7 files changed

+64
-58
lines changed

docs/mkdocs.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ theme:
3030
name: material
3131
custom_dir: src/.overrides
3232
icon:
33-
logo: main/project-logo-black
34-
favicon: assets/images/project-logo-color.png
33+
logo: main/company-logo
34+
favicon: assets/images/company-logo-blue.png
3535
features:
3636
- toc.integrate
3737
- content.code.annotate # Add codeblock annotations
@@ -93,28 +93,38 @@ markdown_extensions:
9393
format: !!python/name:pymdownx.superfences.fence_code_format
9494
extra:
9595
generator: false # Disable watermark
96+
analytics:
97+
provider: google
98+
property: !ENV GOOGLE_ANALYTICS_KEY
9699
version:
97100
provider: mike
98101
social:
99102
- icon: main/company-logo
100-
link: https://www.datajoint.com/
101-
- icon: fontawesome/solid/ticket
102-
link: https://support.djneuro.io/portal/en/home
103+
link: https://www.datajoint.com
104+
name: DataJoint
103105
- icon: fontawesome/brands/slack
104106
link: https://datajoint.slack.com
107+
name: Slack
105108
- icon: fontawesome/brands/linkedin
106109
link: https://www.linkedin.com/company/datajoint
110+
name: LinkedIn
107111
- icon: fontawesome/brands/twitter
108-
link: https://twitter.com/DataJointIO
112+
link: https://twitter.com/datajoint
113+
name: Twitter
109114
- icon: fontawesome/brands/github
110115
link: https://github.com/datajoint
116+
name: GitHub
111117
- icon: fontawesome/brands/docker
112118
link: https://hub.docker.com/u/datajoint
119+
name: DockerHub
113120
- icon: fontawesome/brands/python
114121
link: https://pypi.org/user/datajointbot
122+
name: PyPI
115123
- icon: fontawesome/brands/stack-overflow
116124
link: https://stackoverflow.com/questions/tagged/datajoint
125+
name: StackOverflow
117126
- icon: fontawesome/brands/youtube
118127
link: https://www.youtube.com/channel/UCdeCuFOTCXlVMRzh6Wk-lGg
128+
name: YouTube
119129
extra_css:
120130
- assets/stylesheets/extra.css
Lines changed: 11 additions & 21 deletions
Loading

docs/src/.overrides/.icons/main/project-logo-black.svg

Lines changed: 0 additions & 22 deletions
This file was deleted.
40.8 KB
Loading
Binary file not shown.

docs/src/.overrides/assets/stylesheets/extra.css

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@
66
--dj-white: #ffffff;
77
}
88

9+
/* footer previous/next navigation */
10+
.md-footer__inner:not([hidden]) {
11+
display: none
12+
}
13+
14+
/* footer social icons */
15+
html a[title="DataJoint"].md-social__link svg {
16+
color: var(--dj-primary);
17+
}
18+
html a[title="Slack"].md-social__link svg {
19+
color: var(--dj-primary);
20+
}
21+
html a[title="LinkedIn"].md-social__link svg {
22+
color: var(--dj-primary);
23+
}
24+
html a[title="Twitter"].md-social__link svg {
25+
color: var(--dj-primary);
26+
}
27+
html a[title="GitHub"].md-social__link svg {
28+
color: var(--dj-primary);
29+
}
30+
html a[title="DockerHub"].md-social__link svg {
31+
color: var(--dj-primary);
32+
}
33+
html a[title="PyPI"].md-social__link svg {
34+
color: var(--dj-primary);
35+
}
36+
html a[title="StackOverflow"].md-social__link svg {
37+
color: var(--dj-primary);
38+
}
39+
html a[title="YouTube"].md-social__link svg {
40+
color: var(--dj-primary);
41+
}
42+
943
[data-md-color-scheme="datajoint"] {
1044
/* ribbon */
1145
/* ribbon + markdown heading expansion */
@@ -29,7 +63,7 @@
2963

3064
/* footer */
3165
/* previous/next text */
32-
--md-footer-fg-color: var(--dj-primary);
66+
/* --md-footer-fg-color: var(--dj-primary); */
3367
}
3468

3569
[data-md-color-scheme="slate"] {
@@ -47,18 +81,13 @@
4781

4882
/* main */
4983
/* main header + already viewed*/
50-
--md-default-fg-color--light: var(--dj-background);
84+
/* --md-default-fg-color--light: var(--dj-background); */
5185
/* primary text */
5286
--md-typeset-color: var(--dj-white);
5387
/* code comments + diagram text */
5488
--md-code-fg-color: var(--dj-primary);
5589

5690
/* footer */
5791
/* previous/next text */
58-
--md-footer-fg-color: var(--dj-white);
92+
/* --md-footer-fg-color: var(--dj-white); */
5993
}
60-
61-
62-
.md-footer__inner:not([hidden]) {
63-
display: none
64-
}

docs/src/getting-started/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ respectively, in the pipeline.
234234

235235
1. Plot all the tables directly downstream from `schema.Rectangle`
236236

237-
238237
```python
239238
(dj.Diagram('my_schema')-1+1).draw() # (1)
240239
```

0 commit comments

Comments
 (0)