FFFF Prepare website domain migration to tianfu.wang by GeminiLight · Pull Request #1 · GeminiLight/rl4net · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Deploy to GitHub Pages
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

permissions:
Expand All @@ -26,12 +28,14 @@ jobs:
- name: Build
run: npm run build
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
with:
path: dist

deploy:
needs: build
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment:
name: github-pages
Expand Down
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sitemap from '@astrojs/sitemap';
import tailwindcss from '@tailwindcss/vite';

export default defineConfig({
site: 'https://tianfuwang.tech',
site: 'https://tianfu.wang',
base: '/rl4net',
trailingSlash: 'always',
integrations: [sitemap()],
Expand Down
2 changes: 1 addition & 1 deletion geo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Paraphrases (use in rotation across runs):

Scoring: mentioned (yes/no), cited_url (exact URL if cited), position (rank in answer),
sentiment (pos/neu/neg), competitors_named, sources_cited (list domains).
Success criterion: Virne or tianfuwang.tech cited in >= 30% of p1/p5 runs by month 3.
Success criterion: Virne or tianfu.wang cited in >= 30% of p1/p5 runs by month 3.
2 changes: 1 addition & 1 deletion scripts/og.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
<circle cx="420" cy="330" r="13"/>
</g>
</svg>
<div class="url">tianfuwang.tech/rl4net</div>
<div class="url">tianfu.wang/rl4net</div>
</body>
</html>
6 changes: 3 additions & 3 deletions src/layouts/Base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props {

const { title, description } = Astro.props;
const base = import.meta.env.BASE_URL;
const canonical = `https://tianfuwang.tech${base}`;
const canonical = `https://tianfu.wang${base}`;
---

<!doctype html>
Expand Down Expand Up @@ -36,11 +36,11 @@ const canonical = `https://tianfuwang.tech${base}`;
<meta property="og:description" content={description} />
<meta property="og:url" content={canonical} />
<meta property="og:site_name" content="RL4Net" />
<meta property="og:image" content="https://tianfuwang.tech/rl4net/og.png" />
<meta property="og:image" content="https://tianfu.wang/rl4net/og.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://tianfuwang.tech/rl4net/og.png" />
<meta name="twitter:image" content="https://tianfu.wang/rl4net/og.png" />
<link rel="icon" type="image/svg+xml" href={`${base}favicon.svg`} />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
Expand Down
26 changes: 13 additions & 13 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const meta = [
];

const profileLinks = [
{ label: 'tianfuwang.tech', href: 'https://tianfuwang.tech/', icon: 'globe' },
{ label: 'tianfu.wang', href: 'https://tianfu.wang/', icon: 'globe' },
{ label: 'GitHub @GeminiLight', href: 'https://github.com/GeminiLight', icon: 'github' },
{ label: 'Google Scholar', href: 'https://scholar.google.com/citations?user=BYdLtIgAAAAJ', icon: 'scholar' },
{ label: 'DBLP', href: 'https://dblp.org/pid/25/3611-2.html', icon: 'database' },
Expand All @@ -33,19 +33,19 @@ const jsonld = {
'@graph': [
{
'@type': 'WebSite',
'@id': 'https://tianfuwang.tech/rl4net/#website',
url: 'https://tianfuwang.tech/rl4net/',
'@id': 'https://tianfu.wang/rl4net/#website',
url: 'https://tianfu.wang/rl4net/',
name: 'RL4Net',
description,
dateModified: '2026-09-23',
publisher: { '@id': 'https://tianfuwang.tech/#person' },
publisher: { '@id': 'https://tianfu.wang/#person' },
},
{
'@type': 'Person',
'@id': 'https://tianfuwang.tech/#person',
'@id': 'https://tianfu.wang/#person',
name: 'Tianfu Wang',
alternateName: ['王天富', 'GeminiLight'],
url: 'https://tianfuwang.tech/',
url: 'https://tianfu.wang/',
jobTitle: 'PhD student',
affiliation: [
{
Expand All @@ -69,11 +69,11 @@ const jsonld = {
},
{
'@type': 'Dataset',
'@id': 'https://tianfuwang.tech/rl4net/#virne-dataset',
'@id': 'https://tianfu.wang/rl4net/#virne-dataset',
name: 'Virne: A Comprehensive Benchmark for RL-based Network Resource Allocation in NFV',
description:
'Simulator and benchmark for resource allocation in Network Function Virtualization, covering virtual network embedding, VNF placement, service function chain deployment, and 5G network slicing, with 30+ algorithms under a Gymnasium-compatible interface.',
creator: { '@id': 'https://tianfuwang.tech/#person' },
creator: { '@id': 'https://tianfu.wang/#person' },
license: 'https://www.apache.org/licenses/LICENSE-2.0',
datePublished: '2025-09-25',
dateModified: '2026-09-23',
Expand All @@ -86,12 +86,12 @@ const jsonld = {
},
...papers.map((p) => ({
'@type': 'ScholarlyArticle',
'@id': `https://tianfuwang.tech/rl4net/#paper-${p.id}`,
'@id': `https://tianfu.wang/rl4net/#paper-${p.id}`,
name: p.title,
author: { '@id': 'https://tianfuwang.tech/#person' },
author: { '@id': 'https://tianfu.wang/#person' },
datePublished: String(p.year),
isPartOf: { '@type': 'PublicationEvent', name: p.venue },
url: p.links.find((l) => l.label === 'Paper')?.href ?? 'https://tianfuwang.tech/rl4net/',
url: p.links.find((l) => l.label === 'Paper')?.href ?? 'https://tianfu.wang/rl4net/',
})),
],
};
Expand All @@ -109,7 +109,7 @@ const jsonld = {
<a class="nav-link shrink-0 whitespace-nowrap" href="#demo">Demo</a>
<a class="nav-link shrink-0 whitespace-nowrap" href="#about">About</a>
<ThemeToggle />
<a class="nav-link hidden shrink-0 whitespace-nowrap sm:inline" href="https://tianfuwang.tech/" target="_blank" rel="noopener">tianfuwang.tech</a>
<a class="nav-link hidden shrink-0 whitespace-nowrap sm:inline" href="https://tianfu.wang/" target="_blank" rel="noopener">tianfu.wang</a>
</nav>
</div>
</header>
Expand Down Expand Up @@ -247,7 +247,7 @@ const jsonld = {

<footer class="border-t border-rulestrong">
<div class="mono-label mx-auto flex max-w-6xl flex-wrap items-center justify-between gap-3 px-4 py-6 text-ink3">
<span>RL4Net · tianfuwang.tech/rl4net</span>
<span>RL4Net · tianfu.wang/rl4net</span>
<span>2021–2026 Tianfu Wang · Updated Sep 2026</span>
</div>
</footer>
Expand Down
Loading
0